Closed
Bug 1159693
Opened 9 years ago
Closed 8 years ago
_globalProperties in browser-test initializes fuel
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mak, Unassigned)
References
Details
I noticed this in mochitest-browser tests 03:54:32 INFO - 969 INFO TEST-INFO | (browser-test.js) | Console message: [JavaScript Error: "DEPRECATION WARNING: FUEL is deprecated, you should use the add-on SDK instead. 03:54:32 INFO - You may find more details about this deprecation at: https://developer.mozilla.org/Add-ons/SDK/ 03:54:32 INFO - jar:file:///builds/slave/test/build/application/firefox/browser/omni.ja!/components/fuelApplication.js 1458 Application 03:54:32 INFO - jar:file:///builds/slave/test/build/application/firefox/browser/omni.ja!/components/fuelApplication.js 726 af_ci 03:54:32 INFO - chrome://mochikit/content/browser-test.js 244 Tester_start This means fuel is being initialized even if it's not used, at that line in browser-test we have: this._globalProperties = Object.keys(window); and indeed this causes the initialization of window.Application that is defined as a JavaScript-global-privileged-property I'm not sure if there's an easy solution here, apart from removing fuel from the codebase (but it's too early to do that).
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Comment 1•8 years ago
|
||
FUEL is being removed in bug 1090880, so this is now wontfix.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Component: BrowserTest → Mochitest
You need to log in
before you can comment on or make changes to this bug.
Description
•