Bug: Intermittent browser/base/content/test/general/browser_fullscreen-window-open.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-05-21 12:04:25+00:00
Resolved: 2023-08-11 12:02:57+00:00

**Filed by:** imoraru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=416491299&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/S6BWSIv0TniUUalA8hLI6w/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-05-21T11:37:52.365Z] 11:37:52     INFO - TEST-START | browser/base/content/test/general/browser_fullscreen-window-open.js
[task 2023-05-21T11:37:52.654Z] 11:37:52     INFO - GECKO(3580) | 1684669072665	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-05-21T11:38:39.710Z] 11:38:39     INFO - TEST-INFO | started process screenshot
[task 2023-05-21T11:38:39.789Z] 11:38:39     INFO - TEST-INFO | screenshot: exit 0
[task 2023-05-21T11:38:39.789Z] 11:38:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_fullscreen-window-open.js | Test timed out - 
[task 2023-05-21T11:38:39.789Z] 11:38:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-21T11:38:39.789Z] 11:38:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_fullscreen-window-open.js | Cleanup function threw an exception - at chrome://mochitests/content/browser/browser/base/content/test/general/browser_fullscreen-window-open.js:36 - TypeError: can't access property "BrowserFullScreen", newWin is undefined
[task 2023-05-21T11:38:39.789Z] 11:38:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_fullscreen-window-open.js | A promise chain failed to handle a rejection: focus listener not removed before the end of test - stack: test@chrome://mochitests/content/browser/browser/base/content/test/general/browser_fullscreen-window-open.js:32:1
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1349:15
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1122:14
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - Rejection date: Sun May 21 2023 11:38:39 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":575,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":539,"lineNumber":768,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":539,"lineNumber":1439,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":539,"lineNumber":1381,"columnNumber":45,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":539,"lineNumber":1122,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":566,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*timeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"nextTest@chrome://mochikit/content/browser-test.js:768:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nnextTest@chrome://mochikit/content/browser-test.js:768:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1439:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1381:45\nnextTest/<@chrome://mochikit/content/browser-test.js:1122:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - Stack trace:
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - chrome://mochikit/content/browser-test.js:nextTest:768
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1439
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1381
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1122
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - GECKO(3580) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/general/browser_fullscreen-window-open.js, line 32: uncaught exception: focus listener not removed before the end of test
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - Console message: [JavaScript Error: "uncaught exception: focus listener not removed before the end of test" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_fullscreen-window-open.js" line: 32}]
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - test@chrome://mochitests/content/browser/browser/base/content/test/general/browser_fullscreen-window-open.js:32:1
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1349:15
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1122:14
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - 
[task 2023-05-21T11:38:39.804Z] 11:38:39     INFO - GECKO(3580) | MEMORY STAT | vsize 1614MB | vsizeMaxContiguous 132MB | residentFast 518MB | heapAllocated 638MB
[task 2023-05-21T11:38:39.812Z] 11:38:39     INFO - TEST-OK | browser/base/content/test/general/browser_fullscreen-window-open.js | took 47367ms
[task 2023-05-21T11:38:39.812Z] 11:38:39     INFO - checking window state
[task 2023-05-21T11:38:39.812Z] 11:38:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-21T11:38:39.812Z] 11:38:39     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_fullscreen-window-open.js | Found a browser window after previous test timed out - 
[task 2023-05-21T11:38:39.875Z] 11:38:39     INFO - TEST-START | browser/base/content/test/general/browser_gestureSupport.js
```