Bug: Intermittent browser/base/content/test/fullscreen/browser_bug1620341.js | Uncaught exception in test - Close buttons should come back to every tab - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-03-14 10:34:11+00:00
Resolved: 2022-07-26 00:15:07+00:00

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

---
```
[task 2022-03-14T10:13:46.928Z] 10:13:46     INFO - TEST-PASS | browser/base/content/test/fullscreen/browser_bug1620341.js | Request should be allowed - "fullscreenchange" == "fullscreenchange" - 
[task 2022-03-14T10:13:46.928Z] 10:13:46     INFO - Console message: [JavaScript Warning: "Exited fullscreen because fullscreen element was removed from document." {file: "chrome://browser/content/tabbrowser.js" line: 4163}]
[task 2022-03-14T10:13:46.929Z] 10:13:46     INFO - Console message: [JavaScript Error: "Error: TelemetryStopwatch: key "FULLSCREEN_CHANGE_MS" was already initialized" {file: "resource:///actors/DOMFullscreenParent.jsm" line: 191}]
[task 2022-03-14T10:13:46.929Z] 10:13:46     INFO - handleEvent@resource:///actors/DOMFullscreenParent.jsm:191:28
[task 2022-03-14T10:13:46.929Z] 10:13:46     INFO - _endRemoveTab@chrome://browser/content/tabbrowser.js:4163:15
[task 2022-03-14T10:13:46.929Z] 10:13:46     INFO - removeTab@chrome://browser/content/tabbrowser.js:3796:14
[task 2022-03-14T10:13:46.929Z] 10:13:46     INFO - removeTab@resource://testing-common/BrowserTestUtils.jsm:1764:30
[task 2022-03-14T10:13:46.930Z] 10:13:46     INFO - withNewTab@resource://testing-common/BrowserTestUtils.jsm:155:24
[task 2022-03-14T10:13:46.930Z] 10:13:46     INFO - 
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - Console message: [JavaScript Error: "InvalidStateError: JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment" {file: "resource:///actors/DOMFullscreenChild.jsm" line: 66}]
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - receiveMessage@resource:///actors/DOMFullscreenChild.jsm:66:16
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - 
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - Buffered messages finished
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/fullscreen/browser_bug1620341.js | Uncaught exception in test - Close buttons should come back to every tab - timed out after 50 tries.
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - Leaving test bound test_fullscreen_cross_origin
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - GECKO(1583) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - GECKO(1583) | MEMORY STAT heapAllocated not supported in this build configuration.
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - GECKO(1583) | MEMORY STAT | vsize 20983461MB | residentFast 1228MB
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - TEST-OK | browser/base/content/test/fullscreen/browser_bug1620341.js | took 8000ms
[task 2022-03-14T10:13:46.935Z] 10:13:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-14T10:13:46.936Z] 10:13:46     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 2022-03-14T10:13:46.936Z] 10:13:46     INFO - checking window state
[task 2022-03-14T10:13:46.936Z] 10:13:46     INFO - TEST-START | browser/base/content/test/fullscreen/browser_fullscreen_api_fission.js
```