Bug: Intermittent browser/base/content/test/fullscreen/browser_fullscreen_cross_origin.js | A promise chain failed to handle a rejection: Not in fullscreen mode - stack: exitDomFullScreen@chrome://browser/content/browser-fullScreenAndPointerLock.js:348:14
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-03-02 18:36:49+00:00
Resolved: 2020-07-21 17:01:59+00:00

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

---

[task 2020-03-02T17:37:57.295Z] 17:37:57     INFO - TEST-PASS | browser/base/content/test/fullscreen/browser_fullscreen_cross_origin.js | Request should be allowed - "fullscreenchange" == "fullscreenchange" - 
[task 2020-03-02T17:37:57.296Z] 17:37:57     INFO - Leaving test bound test_fullscreen_cross_origin
[task 2020-03-02T17:37:57.299Z] 17:37:57     INFO - Buffered messages finished
[task 2020-03-02T17:37:57.303Z] 17:37:57     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/fullscreen/browser_fullscreen_cross_origin.js | A promise chain failed to handle a rejection: Not in fullscreen mode - stack: exitDomFullScreen@chrome://browser/content/browser-fullScreenAndPointerLock.js:348:14
[task 2020-03-02T17:37:57.303Z] 17:37:57     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1188:16
[task 2020-03-02T17:37:57.304Z] 17:37:57     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5295:16
[task 2020-03-02T17:37:57.304Z] 17:37:57     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:197:14
[task 2020-03-02T17:37:57.305Z] 17:37:57     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:216:7
[task 2020-03-02T17:37:57.305Z] 17:37:57     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:548:11
[task 2020-03-02T17:37:57.306Z] 17:37:57     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:568:35
[task 2020-03-02T17:37:57.306Z] 17:37:57     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:87:11
[task 2020-03-02T17:37:57.306Z] 17:37:57     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:316:7
[task 2020-03-02T17:37:57.306Z] 17:37:57     INFO - _blurTab@chrome://browser/content/tabbrowser.js:3845:31
[task 2020-03-02T17:37:57.306Z] 17:37:57     INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:3492:12
[task 2020-03-02T17:37:57.307Z] 17:37:57     INFO - removeTab@chrome://browser/content/tabbrowser.js:3366:15
[task 2020-03-02T17:37:57.307Z] 17:37:57     INFO - removeTab@resource://testing-common/BrowserTestUtils.jsm:1601:30
[task 2020-03-02T17:37:57.308Z] 17:37:57     INFO - withNewTab@resource://testing-common/BrowserTestUtils.jsm:157:24
[task 2020-03-02T17:37:57.308Z] 17:37:57     INFO - async*requestFullscreen@chrome://mochitests/content/browser/browser/base/content/test/fullscreen/browser_fullscreen_cross_origin.js:11:28
[task 2020-03-02T17:37:57.309Z] 17:37:57     INFO - test_fullscreen_cross_origin@chrome://mochitests/content/browser/browser/base/content/test/fullscreen/browser_fullscreen_cross_origin.js:67:9
[task 2020-03-02T17:37:57.309Z] 17:37:57     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1062:34
[task 2020-03-02T17:37:57.309Z] 17:37:57     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1097:11
[task 2020-03-02T17:37:57.310Z] 17:37:57     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:925:14
[task 2020-03-02T17:37:57.310Z] 17:37:57     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:914:23
[task 2020-03-02T17:37:57.310Z] 17:37:57     INFO - Rejection date: Mon Mar 02 2020 17:37:56 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-03-02T17:37:57.310Z] 17:37:57     INFO - Stack trace:
[task 2020-03-02T17:37:57.311Z] 17:37:57     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-03-02T17:37:57.311Z] 17:37:57     INFO - chrome://mochikit/content/browser-test.js:nextTest:624
[task 2020-03-02T17:37:57.311Z] 17:37:57     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1457
[task 2020-03-02T17:37:57.311Z] 17:37:57     INFO - chrome://mochikit/content/browser-test.js:run:1372
[task 2020-03-02T17:37:57.312Z] 17:37:57     INFO - Console message: [JavaScript Error: "TypeError: Not in fullscreen mode" {file: "chrome://browser/content/browser-fullScreenAndPointerLock.js" line: 348}]
[task 2020-03-02T17:37:57.312Z] 17:37:57     INFO - GECKO(1762) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2020-03-02T17:37:57.312Z] 17:37:57     INFO - GECKO(1762) | MEMORY STAT | vsize 2891MB | residentFast 340MB | heapAllocated 115MB
[task 2020-03-02T17:37:57.313Z] 17:37:57     INFO - TEST-OK | browser/base/content/test/fullscreen/browser_fullscreen_cross_origin.js | took 5936ms