forked from mirrors/gecko-dev
A lot of the ad-hoc frame scripts we execute for tests does not run in strict mode, and therefore has its functions' `this` objects set to the global when they are called without a target object. At the moment, this gives them a MessageManager global. Once message managers become non-global objects, however, it will give them the shared JSM global, which is not what they expect. This patches changes scripts which rely on this to explicitly capture or set the appropriate `this` object for their calls. MozReview-Commit-ID: DY8DDb0xE1K --HG-- extra : rebase_source : 86c1fa4df070711f666dfee5487182afe28a7611 |
||
|---|---|---|
| .. | ||
| child | ||
| parent | ||
| schemas | ||
| test | ||
| .eslintrc.js | ||
| ext-browser.json | ||
| extension-mac-panel.css | ||
| extension-mac.css | ||
| extension-win-panel.css | ||
| extension.css | ||
| extension.svg | ||
| ExtensionControlledPopup.jsm | ||
| ExtensionPopups.jsm | ||
| extensions-browser.manifest | ||
| jar.mn | ||
| moz.build | ||
| ParseBreakpadSymbols-worker.js | ||
| ParseCppFiltSymbols-worker.js | ||
| ParseNMSymbols-worker.js | ||
| ParseSymbols.jsm | ||