Closed Bug 1394044 Opened 7 years ago Closed 7 years ago

Intermittent browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js | A promise chain failed to handle a rejection: Invalid sidebar broadcaster specified: - stack: null

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

This doesn't seem to be a telemetry specific issue from the error message:

> INFO - Entering test bound test_sessionRestore
> INFO - Console message: [JavaScript Warning: "Empty string passed to getElementById()." {file: "chrome://browser/content/browser-sidebar.js" line: 301}]
> INFO - Console message: [JavaScript Error: "Error: Invalid sidebar broadcaster specified: " {file: "chrome://browser/content/browser-sidebar.js" line: 362}]
> INFO - TEST-PASS | browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js | We should not track URIs from restored sessions. - 
> INFO - TEST-PASS | browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js | We should not track URIs from restored sessions. - 
> INFO - TEST-PASS | browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js | We should not track unique domains from restored sessions. - 
> INFO - Buffered messages finished

There's no telemetry error here and the assertions on the values look good [1].

> INFO - TEST-UNEXPECTED-FAIL | browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js | A promise chain failed to handle a rejection: Invalid sidebar broadcaster specified:  - stack: null
> INFO - Rejection date: Fri Aug 25 2017 02:42:08 GMT-0700 (PDT) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
> INFO - Stack trace:
> INFO -     resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
> INFO -     chrome://mochikit/content/browser-test.js:Tester_execTest/<:818
> INFO -     Tester_execTest@chrome://mochikit/content/browser-test.js:787:9
> INFO -     Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:687:7
> INFO -     SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:795:59
> INFO - Leaving test bound test_sessionRestore
> INFO - Console message: [JavaScript Warning: "Empty string passed to getElementById()." {file: "chrome://browser/content/browser-sidebar.js" line: 301}]
> INFO - Not taking screenshot here: see the one that was previously logged
> INFO - TEST-UNEXPECTED-FAIL | browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js | A promise chain failed to handle a rejection: Invalid sidebar broadcaster specified:  - stack: null
> INFO - Rejection date: Fri Aug 25 2017 02:42:09 GMT-0700 (PDT) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
> INFO - Stack trace:
> INFO -     resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
> INFO -     chrome://mochikit/content/browser-test.js:Tester.prototype.nextTest<:448
> INFO -     testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1092:11
> INFO -     run@chrome://mochikit/content/browser-test.js:1029:9

The error seems to come from [2]. Moving this to Firefox::General.

[1] - http://searchfox.org/mozilla-central/rev/18c16ebf818abb86805ce08a6e537e4cd826f044/browser/modules/test/browser/browser_UsageTelemetry_private_and_restore.js#86,89
[2] - http://searchfox.org/mozilla-central/rev/18c16ebf818abb86805ce08a6e537e4cd826f044/browser/base/content/browser-sidebar.js#349
Component: Telemetry → General
Priority: P5 → --
Product: Toolkit → Firefox
This was a side-effect of bug 1391280 landing, and it got backed out, so this can be closed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.