Closed Bug 1068437 Opened 10 years ago Closed 10 years ago

TEST-UNEXPECTED-FAIL | e10s/main.testTabIsRemote | There was an uncaught Promise rejection: JS frame :: resource://gre/components/nsSearchService.js :: onSuccess :: line 3832

Categories

(Firefox :: Search, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1070223
Tracking Status
e10s + ---

People

(Reporter: evold, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: intermittent-failure)

TEST-UNEXPECTED-FAIL | e10s/main.testTabIsRemote | There was an uncaught Promise rejection: JS frame :: resource://gre/components/nsSearchService.js :: onSuccess :: line 3832
JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: Handler.prototype.process :: line 865
JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.walkerLoop :: line 744
native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
TEST-INFO | Traceback (most recent call last):
  File "resource://jid1-dyaxfhaplhwbgw-at-jetpack/e10s/lib/main.js", line 24, in listener
    closeTab(tab);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/tabs/utils.js", line 164, in closeTab
    return gBrowser.removeTab(tab);
  File "chrome://browser/content/tabbrowser.xml", line 1908, in removeTab
    if (!this._beginRemoveTab(aTab, false, null, true))
  File "chrome://browser/content/tabbrowser.xml", line 2022, in _beginRemoveTab
    aTab.dispatchEvent(evt);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/tabs/observer.js", line 48, in handleEvent
    this._emit(EVENTS[event.type], event.target, event);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/deprecated/events.js", line 123, in _emit
    return this._emitOnObject.apply(this, args);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/deprecated/events.js", line 153, in _emitOnObject
    listener.apply(targetObj, params);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/windows/tabs-firefox.js", line 124, in _onTabEvent
    this._emitEvent(type, wrappedTab);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/windows/tabs-firefox.js", line 135, in _emitEvent
    tabs._emit.apply(tabs, args);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/deprecated/events.js", line 123, in _emit
    return this._emitOnObject.apply(this, args);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/deprecated/events.js", line 153, in _emitOnObject
    listener.apply(targetObj, params);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/deprecated/events.js", line 59, in selfRemovableListener
    listener.apply(this, arguments);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/test.js", line 69, in null
    options.done();
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 313, in done
    PromiseDebugging.flushUncaughtErrors();
  File "resource://gre/modules/Promise-backend.js", line 611, in Promise.Debugging.flushUncaughtErrors
    PendingErrors.flush();
  File "resource://gre/modules/Promise-backend.js", line 209, in PendingErrors.flush
    this.report(key);
  File "resource://gre/modules/Promise-backend.js", line 197, in PendingErrors.report
    obs(value);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 65, in TestRunner.prototype._uncaughtErrorObserver
    this.fail("There was an uncaught Promise rejection: " + stack);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/deprecated/unit-test.js", line 96, in fail
    this.console.testMessage(false, false, this.test.name, message);
  File "resource://extensions.modules.jid1-dyaxfhaplhwbgw-at-jetpack.commonjs.path/sdk/test/harness.js", line 546, in testMessage
    this.trace();
TEST-INFO | [JavaScript Warning: "Unknown property 'will-change'.  Declaration dropped." {file: "resource://gre-resources/full-screen-override.css" line: 24 column: 13 source: "  will-change: initial !important;"}]
TEST-END | e10s/main.testTabIsRemote

1 of 2 tests passed.
Looks like there is an unhandled promise rejection in http://dxr.mozilla.org/mozilla-central/source/toolkit/components/search/nsSearchService.js
Version: unspecified → Trunk
This is pretty important as it is causing the Addon-SDK tree to go red

https://tbpl.mozilla.org/?tree=Jetpack
Got review on the fix for this before I found this bug.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.