Closed Bug 1053904 Opened 10 years ago Closed 10 years ago

TEST-UNEXPECTED-FAIL | addon-sdk/tests/test-context-menu.testOverflowTransition | There was an uncaught Promise rejection: JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: PendingErrors.register :: line 164

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: evold, Unassigned)

References

()

Details

TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | hidden should be set correctly TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | nodes should all be in the same group TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | Item DOM element should be a xul:menuitem TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | Item should have correct title TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | Item should not have image TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | The iconic classes should not be present TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | hidden should be set correctly TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | nodes should all be in the same group TEST-PASS | addon-sdk/tests/test-context-menu.testOverflowTransition | should have checked all the XUL nodes TEST-UNEXPECTED-FAIL | addon-sdk/tests/test-context-menu.testOverflowTransition | There was an uncaught Promise rejection: JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: PendingErrors.register :: line 164 JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.completePromise :: line 673 JS frame :: resource://gre/modules/GMPInstallManager.jsm :: GMPInstallManager.prototype.simpleCheckAndInstall/< :: line 368 JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: Handler.prototype.process :: line 869 JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.walkerLoop :: line 745 native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0 TEST-INFO | Traceback (most recent call last): File "resource://extensions.modules.24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack.commonjs.path/sdk/timers.js", line 40, in notify callback.apply(null, args); File "resource://24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack/addon-sdk/tests/test-context-menu.js", line 3880, in TestHelper.prototype.delayedEventListener/handler/< callback.call(self, evt); File "resource://24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack/addon-sdk/tests/test-context-menu.js", line 3923, in TestHelper.prototype.done/< function () closeBrowserWindow.call(this), File "resource://24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack/addon-sdk/tests/test-context-menu.js", line 3914, in closeBrowserWindow commonDone.call(this); File "resource://24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack/addon-sdk/tests/test-context-menu.js", line 3902, in commonDone this.end(); File "resource://extensions.modules.24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack.commonjs.path/sdk/test.js", line 69, in null options.done(); File "resource://extensions.modules.24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 306, in done PromiseDebugging.flushUncaughtErrors(); File "resource://gre/modules/Promise-backend.js", line 612, in Promise.Debugging.flushUncaughtErrors PendingErrors.flush(); File "resource://gre/modules/Promise-backend.js", line 214, in PendingErrors.flush this.report(key); File "resource://gre/modules/Promise-backend.js", line 202, in PendingErrors.report obs(value); File "resource://extensions.modules.24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 61, in TestRunner.prototype._uncaughtErrorObserver this.fail("There was an uncaught Promise rejection: " + stack); File "resource://extensions.modules.24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 92, in fail this.console.testMessage(false, false, this.test.name, message); File "resource://extensions.modules.24ba8976-4124-4343-ab5f-21930ef85dd5-at-jetpack.commonjs.path/sdk/test/harness.js", line 527, in testMessage this.trace(); TEST-INFO | [JavaScript Error: "chrome://browser/content/browser.xul : Unable to run script because scripts are blocked internally."] TEST-END | addon-sdk/tests/test-context-menu.testOverflowTransition
Assignee: evold → nobody
This test failure is popping up now due to the combination of bug 1030036 and bug 998277 getting resolved. I'm not sure what the issue is exactly, but it seems to happen in the context-menu tests somewhere.
Depends on: 1030036, 998277
Locally I'm getting failures when running all tests sometimes, but not individually -- lots of: [JavaScript Error: "resource://7b4a6c2e-d1a6-4f9a-93c5-24414b6de3d7-at-jetpack/addon-sdk/tests/test-context-menu.html : Unable to run script because scripts are blocked internally."] Wonder if that's the cause from the MOZ_DISABLE_NONLOCAL_CONNECTIONS?
No longer blocks: 1053911
this seems to work for me now
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.