Closed
Bug 1240734
Opened 10 years ago
Closed 9 years ago
running the full Addon-SDK test suite with e10s enabled raises "TypeError: this._messageManager is undefined" exceptions
Categories
(Add-on SDK Graveyard :: General, defect, P3)
Add-on SDK Graveyard
General
Tracking
(e10s+)
RESOLVED
DUPLICATE
of bug 1232643
Tracking | Status | |
---|---|---|
e10s | + | --- |
People
(Reporter: rpl, Unassigned)
References
(Blocks 1 open bug)
Details
STR:
- run all the Addon-SDK tests using mochitest with the e10s flag:
./mach mochitest addon-sdk --e10s
Expected result:
- mochitest should be able to complete its run when e10s is enabled
Actual result:
- The following test files raise the "TypeError: this._messageManager is undefined" and they fail due to timeout:
- test-tab-observer.js
- test-tab.js
- test-windows-common.js
- test-private-browsing.js
- test-test-utils.js
- test-ui-action-button.js
- test-ui-toolbar.js
- test-url.js
No exception is raised if each of the above test files is executed alone.
Reporter | ||
Comment 1•10 years ago
|
||
Here is the exception and a stacktrace logged by test-test-utils.js:
TEST-INFO | executing 'jetpack-package/addon-sdk/source/test/test-test-utils.js.testCleanUIWithOnlyExtraTab'
JavaScript error: resource://gre/modules/RemoteWebNavigation.jsm, line 40: TypeError: this._messageManager is undefined
*************************
A coding exception was thrown and uncaught in a Task.
Full message: TypeError: b.webProgress is undefined
Full stack: addTab@chrome://browser/content/tabbrowser.xml:1881:13
WindowTabs<.open@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/windows/firefox.js:115:5
Tabs<.open@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/tabs/tabs-firefox.js:92:14
exports.testCleanUIWithOnlyExtraTab/tab<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://jetpack-package-tests/jetpack-package/addon-sdk/source/test/test-test-utils.js:67:5
exports.testCleanUIWithOnlyExtraTab@resource://gre/modules/commonjs/toolkit/loader.js -> resource://jetpack-package-tests/jetpack-package/addon-sdk/source/test/test-test-utils.js:66:19
TaskImpl_run@resource://gre/modules/Task.jsm:315:40
TaskImpl@resource://gre/modules/Task.jsm:276:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
Task_spawn@resource://gre/modules/Task.jsm:164:12
@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/test.js:54:13
start@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/deprecated/unit-test.js:576:7
startMany/runNextTest/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/deprecated/unit-test.js:538:11
promise callback*runNextTest@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/deprecated/unit-test.js:532:14
start/this.onDone@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/deprecated/unit-test.js:563:7
done/</<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/deprecated/unit-test.js:389:31
notify@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/timers.js:40:9
*************************
TEST-UNEXPECTED-FAIL | jetpack-package/addon-sdk/source/test/test-test-utils.js.testCleanUIWithOnlyExtraTab | b.webProgress is undefined
TEST-INFO | Traceback (most recent call last):
File "resource://gre/modules/Promise-backend.js", line 812, in this.PromiseWalker.walkerLoop
this.handlers.shift().process();
File "resource://gre/modules/Promise-backend.js", line 936, in Handler.prototype.process
nextValue = this.onReject.call(undefined, nextValue);
File "resource://gre/modules/commonjs/sdk/test/assert.js", line 88, in fail
this._log.fail(message);
File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 104, in fail
this.console.testMessage(false, false, this.test.name, message);
File "resource://gre/modules/commonjs/sdk/test/harness.js", line 541, in testMessage
this.trace();
And the following is from test-url.js:
TEST-INFO | executing 'jetpack-package/addon-sdk/source/test/test-url.js.testWindowLocationMatch'
JavaScript error: resource://gre/modules/RemoteWebNavigation.jsm, line 40: TypeError: this._messageManager is undefined
An exception occurred.
Traceback (most recent call last):
File "resource://gre/modules/commonjs/sdk/timers.js", line 40, in notify
callback.apply(null, args);
File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 389, in done/</<
timer.setTimeout(_ => onDone(this));
File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 563, in start/this.onDone
options.onDone(self);
File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 532, in promise callback*runNextTest
return tests.getNext().then((test) => {
File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 538, in startMany/runNextTest/<
self.start({test: test, onDone: runNextTest});
File "resource://gre/modules/commonjs/sdk/deprecated/unit-test.js", line 576, in start
this.test.testFunction(this);
File "resource://gre/modules/commonjs/sdk/test.js", line 67, in
test(assert, function() {
File "resource://jetpack-package-tests/jetpack-package/addon-sdk/source/test/test-url.js", line 338, in exports.testWindowLocationMatch
tabs.open({
File "resource://gre/modules/commonjs/sdk/tabs/tabs-firefox.js", line 92, in Tabs<.open
return activeWindow.tabs.open(options);
File "resource://gre/modules/commonjs/sdk/windows/firefox.js", line 115, in WindowTabs<.open
domWindow.gBrowser.addTab(options.url);
File "chrome://browser/content/tabbrowser.xml", line 1881, in addTab
b.webProgress.addProgressListener(filter, Components.interfaces.nsIWebProgress.NOTIFY_ALL);
TypeError: b.webProgress is undefined
TEST-INFO | [JavaScript Error: "TypeError: this._messageManager is undefined" {file: "resource://gre/modules/RemoteWebNavigation.jsm" line: 40}]
Reporter | ||
Updated•9 years ago
|
Blocks: e10s-tests, 1232643
Updated•9 years ago
|
tracking-e10s:
--- → +
Priority: -- → P3
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•