Bug: Intermittent browser/base/content/test/fullscreen/browser_bug1620341.js | Uncaught exception - undefined - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-06-09 16:37:37+00:00
Resolved: 2023-10-19 11:23:13+00:00

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

---

[task 2020-06-09T16:07:10.743Z] 16:07:10     INFO - TEST-START | browser/base/content/test/fullscreen/browser_bug1620341.js
[task 2020-06-09T16:07:12.620Z] 16:07:12     INFO - GECKO(2393) | JavaScript error: chrome://browser/content/browser-fullScreenAndPointerLock.js, line 533: TypeError: can't access property "osPid", childBC.currentWindowGlobal is null
[task 2020-06-09T16:07:12.620Z] 16:07:12     INFO - GECKO(2393) | JavaScript error: chrome://browser/content/browser-fullScreenAndPointerLock.js, line 557: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
[task 2020-06-09T16:07:17.742Z] 16:07:17     INFO - TEST-INFO | started process screentopng
[task 2020-06-09T16:07:18.120Z] 16:07:18     INFO - TEST-INFO | screentopng: exit 0
[task 2020-06-09T16:07:18.121Z] 16:07:18     INFO - Buffered messages logged at 16:07:10
[task 2020-06-09T16:07:18.121Z] 16:07:18     INFO - Entering test bound test_fullscreen_cross_origin
[task 2020-06-09T16:07:18.122Z] 16:07:18     INFO - Buffered messages logged at 16:07:11
[task 2020-06-09T16:07:18.122Z] 16:07:18     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "https://example.com/browser/browser/base/content/test/fullscreen/fullscreen_frame.html" line: 0}]
[task 2020-06-09T16:07:18.123Z] 16:07:18     INFO - Buffered messages logged at 16:07:12
[task 2020-06-09T16:07:18.124Z] 16:07:18     INFO - Start fullscreen on iframe frameAllowed
[task 2020-06-09T16:07:18.124Z] 16:07:18     INFO - TEST-PASS | browser/base/content/test/fullscreen/browser_bug1620341.js | Request should be allowed - "fullscreenchange" == "fullscreenchange" - 
[task 2020-06-09T16:07:18.125Z] 16:07:18     INFO - Console message: [JavaScript Warning: "Exited fullscreen because fullscreen element was removed from document." {file: "chrome://browser/content/tabbrowser.js" line: 3785}]
[task 2020-06-09T16:07:18.126Z] 16:07:18     INFO - Console message: [JavaScript Error: "TypeError: can't access property "osPid", childBC.currentWindowGlobal is null" {file: "chrome://browser/content/browser-fullScreenAndPointerLock.js" line: 533}]
[task 2020-06-09T16:07:18.128Z] 16:07:18     INFO - _sendMessageToTheRightContent@chrome://browser/content/browser-fullScreenAndPointerLock.js:533:22
[task 2020-06-09T16:07:18.128Z] 16:07:18     INFO - cleanupDomFullscreen@chrome://browser/content/browser-fullScreenAndPointerLock.js:490:15
[task 2020-06-09T16:07:18.129Z] 16:07:18     INFO - didDestroy@resource:///actors/DOMFullscreenParent.jsm:30:27
[task 2020-06-09T16:07:18.130Z] 16:07:18     INFO - 
[task 2020-06-09T16:07:18.130Z] 16:07:18     INFO - Console message: [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "chrome://browser/content/browser-fullScreenAndPointerLock.js" line: 557}]
[task 2020-06-09T16:07:18.131Z] 16:07:18     INFO - _sendMessageToTheRightContent@chrome://browser/content/browser-fullScreenAndPointerLock.js:557:26
[task 2020-06-09T16:07:18.131Z] 16:07:18     INFO - cleanupDomFullscreen@chrome://browser/content/browser-fullScreenAndPointerLock.js:490:15
[task 2020-06-09T16:07:18.132Z] 16:07:18     INFO - didDestroy@resource:///actors/DOMFullscreenParent.jsm:30:27
[task 2020-06-09T16:07:18.132Z] 16:07:18     INFO - 
[task 2020-06-09T16:07:18.133Z] 16:07:18     INFO - Buffered messages finished
[task 2020-06-09T16:07:18.133Z] 16:07:18     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/fullscreen/browser_bug1620341.js | Uncaught exception - undefined - timed out after 50 tries.
[task 2020-06-09T16:07:18.134Z] 16:07:18     INFO - Leaving test bound test_fullscreen_cross_origin
[task 2020-06-09T16:07:18.135Z] 16:07:18     INFO - GECKO(2393) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2020-06-09T16:07:18.136Z] 16:07:18     INFO - GECKO(2393) | MEMORY STAT | vsize 2838MB | residentFast 316MB | heapAllocated 115MB
[task 2020-06-09T16:07:18.137Z] 16:07:18     INFO - TEST-OK | browser/base/content/test/fullscreen/browser_bug1620341.js | took 7014ms
[task 2020-06-09T16:07:18.138Z] 16:07:18     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-06-09T16:07:18.139Z] 16:07:18     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 2020-06-09T16:07:18.141Z] 16:07:18     INFO - checking window state