Bug: Intermittent browser/base/content/test/fullscreen/browser_bug1620341.js | single tracking bug
Status: NEW
Priority: P5
Created: 2023-11-10 00:29:20+00:00
Resolved: 2025-03-03 06:29:41+00:00

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

---
```
[task 2023-11-09T20:05:11.438Z] 20:05:11     INFO - TEST-START | browser/base/content/test/fullscreen/browser_bug1620341.js
[task 2023-11-09T20:05:12.358Z] 20:05:12     INFO - GECKO(3279) | JavaScript error: resource:///actors/DOMFullscreenParent.sys.mjs, line 230: Error: TelemetryStopwatch: key "FULLSCREEN_CHANGE_MS" was already initialized
[task 2023-11-09T20:05:12.358Z] 20:05:12     INFO - GECKO(3279) | console.error: "not able to get browsingContext for chrome window."
[task 2023-11-09T20:05:17.533Z] 20:05:17     INFO - TEST-INFO | started process screentopng
[task 2023-11-09T20:05:17.955Z] 20:05:17     INFO - TEST-INFO | screentopng: exit 0
[task 2023-11-09T20:05:17.957Z] 20:05:17     INFO - Buffered messages logged at 20:05:11
[task 2023-11-09T20:05:17.957Z] 20:05:17     INFO - Entering test bound test_fullscreen_cross_origin
[task 2023-11-09T20:05:17.957Z] 20:05:17     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,  <html xmlns="http://www.w3.org/1999/xhtml">    <head>      <meta charset="utf-8"/>      <title>First tab to be loaded</title>    </head>    <body>      <button>JUST A BUTTON</button>    </body>  </html>" line: 0}]
[task 2023-11-09T20:05:17.957Z] 20:05:17     INFO - Buffered messages logged at 20:05:12
[task 2023-11-09T20:05:17.958Z] 20:05:17     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.org/browser/browser/base/content/test/fullscreen/fullscreen.html” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2023-11-09T20:05:17.958Z] 20:05:17     INFO - Start fullscreen on iframe frameAllowed
[task 2023-11-09T20:05:17.958Z] 20:05:17     INFO - TEST-PASS | browser/base/content/test/fullscreen/browser_bug1620341.js | Close buttons should be visible on every tab - 
[task 2023-11-09T20:05:17.959Z] 20:05:17     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.org/browser/browser/base/content/test/fullscreen/fullscreen.html” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2023-11-09T20:05:17.959Z] 20:05:17     INFO - TEST-PASS | browser/base/content/test/fullscreen/browser_bug1620341.js | Request should be allowed - "fullscreenchange" == "fullscreenchange" - 
[task 2023-11-09T20:05:17.959Z] 20:05:17     INFO - Console message: [JavaScript Warning: "Exited fullscreen because fullscreen element was removed from document." {file: "chrome://browser/content/tabbrowser.js" line: 4344}]
[task 2023-11-09T20:05:17.959Z] 20:05:17     INFO - Console message: [JavaScript Error: "Error: TelemetryStopwatch: key "FULLSCREEN_CHANGE_MS" was already initialized" {file: "resource:///actors/DOMFullscreenParent.sys.mjs" line: 230}]
[task 2023-11-09T20:05:17.960Z] 20:05:17     INFO - handleEvent@resource:///actors/DOMFullscreenParent.sys.mjs:230:28
[task 2023-11-09T20:05:17.960Z] 20:05:17     INFO - _endRemoveTab@chrome://browser/content/tabbrowser.js:4344:15
[task 2023-11-09T20:05:17.961Z] 20:05:17     INFO - removeTab@chrome://browser/content/tabbrowser.js:3991:14
[task 2023-11-09T20:05:17.961Z] 20:05:17     INFO - removeTab@resource://testing-common/BrowserTestUtils.sys.mjs:1902:30
[task 2023-11-09T20:05:17.962Z] 20:05:17     INFO - withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:154:26
[task 2023-11-09T20:05:17.962Z] 20:05:17     INFO - async*requestFullscreenThenCloseTab@chrome://mochitests/content/browser/browser/base/content/test/fullscreen/browser_bug1620341.js:22:28
[task 2023-11-09T20:05:17.962Z] 20:05:17     INFO - test_fullscreen_cross_origin@chrome://mochitests/content/browser/browser/base/content/test/fullscreen/browser_bug1620341.js:86:9
[task 2023-11-09T20:05:17.963Z] 20:05:17     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1134:26
[task 2023-11-09T20:05:17.963Z] 20:05:17     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18
[task 2023-11-09T20:05:17.964Z] 20:05:17     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14
[task 2023-11-09T20:05:17.964Z] 20:05:17     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1123:14
[task 2023-11-09T20:05:17.964Z] 20:05:17     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-11-09T20:05:17.965Z] 20:05:17     INFO - 
[task 2023-11-09T20:05:17.967Z] 20:05:17     INFO - Buffered messages finished
[task 2023-11-09T20:05:17.968Z] 20:05:17     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/fullscreen/browser_bug1620341.js | Uncaught exception in test bound test_fullscreen_cross_origin - Close buttons should come back to every tab - timed out after 50 tries.
[task 2023-11-09T20:05:17.969Z] 20:05:17     INFO - Leaving test bound test_fullscreen_cross_origin
[task 2023-11-09T20:05:17.970Z] 20:05:17     INFO - GECKO(3279) | MEMORY STAT | vsize 11272MB | residentFast 360MB | heapAllocated 215MB
[task 2023-11-09T20:05:17.971Z] 20:05:17     INFO - TEST-OK | browser/base/content/test/fullscreen/browser_bug1620341.js | took 6103ms
[task 2023-11-09T20:05:17.972Z] 20:05:17     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-09T20:05:17.973Z] 20:05:17     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/fullscreen/browser_bug1620341.js | Found an unexpected tab at the end of test run: data:text/html,  <html xmlns="http://www.w3.org/1999/xhtml">    <head>      <meta charset="utf-8"/>      <title>First tab to be loaded</title>    </head>    <body>      <button>JUST A BUTTON</button>    </body>  </html> - 
[task 2023-11-09T20:05:17.977Z] 20:05:17     INFO - checking window state
[task 2023-11-09T20:05:17.979Z] 20:05:17     INFO - TEST-START | browser/base/content/test/fullscreen/browser_fullscreen_api_fission.js
```