Closed Bug 1601576 Opened 2 years ago Closed 2 years ago

Intermittent browser/base/content/test/permissions/browser_permissions.js | A promise chain failed to handle a rejection: document.getElementById(...) is null - stack: _createGeoLocationLastAccessIndicator@

Categories

(Firefox :: Site Permissions, defect, P3)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr68 --- wontfix
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: pbz)

Details

(Keywords: intermittent-failure)

Attachments

(3 files)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=279743120&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MmXRJxeZRua-_WZTigFS4A/runs/0/artifacts/public/logs/live_backing.log


[task 2019-12-05T09:06:33.785Z] 09:06:33 INFO - TEST-PASS | browser/base/content/test/permissions/browser_permissions.js | Empty hint is visible after reloading -
[task 2019-12-05T09:06:33.786Z] 09:06:33 INFO - TEST-PASS | browser/base/content/test/permissions/browser_permissions.js | Reload hint is hidden after reloading -
[task 2019-12-05T09:06:33.786Z] 09:06:33 INFO - Buffered messages finished
[task 2019-12-05T09:06:33.786Z] 09:06:33 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/permissions/browser_permissions.js | A promise chain failed to handle a rejection: document.getElementById(...) is null - stack: _createGeoLocationLastAccessIndicator@chrome://browser/content/browser-siteIdentity.js:1727:8
[task 2019-12-05T09:06:33.786Z] 09:06:33 INFO - asyncupdateSitePermissions@chrome://browser/content/browser-siteIdentity.js:1402:14
[task 2019-12-05T09:06:33.786Z] 09:06:33 INFO - refreshIdentityPopup@chrome://browser/content/browser-siteIdentity.js:1101:10
[task 2019-12-05T09:06:33.786Z] 09:06:33 INFO - _openPopup@chrome://browser/content/browser-siteIdentity.js:1199:10
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - handleIdentityButtonEvent@chrome://browser/content/browser-siteIdentity.js:1187:10
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - onclick@chrome://browser/content/browser.xhtml:1:18
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - openIdentityPopup@chrome://mochitests/content/browser/browser/base/content/test/permissions/browser_permissions.js:19:33
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - testPermissionHints/<@chrome://mochitests/content/browser/browser/base/content/test/permissions/browser_permissions.js:212:11
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - async
withNewTab@resource://testing-common/BrowserTestUtils.jsm:152:24
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - asynctestPermissionHints@chrome://mochitests/content/browser/browser/base/content/test/permissions/browser_permissions.js:183:26
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1069:34
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - async
Tester_execTest@chrome://mochikit/content/browser-test.js:1104:11
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:932:14
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:805:67
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - Rejection date: Thu Dec 05 2019 09:06:33 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - Stack trace:
[task 2019-12-05T09:06:33.787Z] 09:06:33 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2019-12-05T09:06:33.788Z] 09:06:33 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1100
[task 2019-12-05T09:06:33.788Z] 09:06:33 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1104
[task 2019-12-05T09:06:33.788Z] 09:06:33 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:932
[task 2019-12-05T09:06:33.788Z] 09:06:33 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:805
[task 2019-12-05T09:06:33.788Z] 09:06:33 INFO - Leaving test bound testPermissionHints
[task 2019-12-05T09:06:33.788Z] 09:06:33 INFO - Entering test bound testPermissionIcons
[task 2019-12-05T09:06:33.788Z] 09:06:33 INFO - GECKO(2552) | [Child 2556: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x112c21800 == 3 [pid = 2556] [id = {9ba9febe-f749-b54b-a00e-54ba6ff158a1}]

Assignee: nobody → ccoroiu
Status: NEW → ASSIGNED
Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d0cd98aeb87
disable browser_permissions.js on mac debug for frequent failures. r=egao
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]

Pinging Paul as the triage owner given the test was frequent-failing and disabled, and removing priority to try to make it show up in triage again.

Flags: needinfo?(pbz)
Priority: P5 → --

Thanks Gijs! I'm currently setting up a macOS VM to troubleshoot this. Seems like there is an issue with the geolocation indicator.

Flags: needinfo?(pbz)
Priority: -- → P3
Assignee: ccoroiu → pbz
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/78355f3906a6
Identity popup: Check if geolocation container element exists before accessing it. r=johannh
https://hg.mozilla.org/integration/autoland/rev/5d4cab4b2bfa
Enable browser_permission.js on macOS debug. r=johannh
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Keywords: leave-open
Resolution: --- → FIXED
Whiteboard: [stockwell disabled]
You need to log in before you can comment on or make changes to this bug.