Bug: Intermittent browser/base/content/test/fullscreen/browser_bug1620341.js | Uncaught exception - at chrome://<test>.js:48 - TypeError: can't access property "click", frameDoc.getElementById(...) is null
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-04-30 19:38:31+00:00
Resolved: 2022-06-07 17:02:28+00:00

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

---
```
[task 2021-04-30T18:19:55.008Z] 18:19:55     INFO - TEST-START | browser/base/content/test/fullscreen/browser_bug1620341.js
[task 2021-04-30T18:19:55.742Z] 18:19:55     INFO - TEST-INFO | started process screencapture
[task 2021-04-30T18:19:55.986Z] 18:19:55     INFO - TEST-INFO | screencapture: exit 0
[task 2021-04-30T18:19:55.986Z] 18:19:55     INFO - Buffered messages logged at 18:19:55
[task 2021-04-30T18:19:55.987Z] 18:19:55     INFO - Entering test bound test_fullscreen_cross_origin
[task 2021-04-30T18:19:55.987Z] 18:19:55     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 2021-04-30T18:19:55.988Z] 18:19:55     INFO - Console message: [JavaScript Error: "Unknown Collection "main/partitioning-exempt-urls"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 160}]
[task 2021-04-30T18:19:55.988Z] 18:19:55     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:160:5
[task 2021-04-30T18:19:55.988Z] 18:19:55     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:470:13
[task 2021-04-30T18:19:55.988Z] 18:19:55     INFO - 
[task 2021-04-30T18:19:55.988Z] 18:19:55     INFO - Start fullscreen on iframe frameAllowed
[task 2021-04-30T18:19:55.988Z] 18:19:55     INFO - Buffered messages finished
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/fullscreen/browser_bug1620341.js | Uncaught exception - at chrome://mochitests/content/browser/browser/base/content/test/fullscreen/browser_bug1620341.js:48 - TypeError: can't access property "click", frameDoc.getElementById(...) is null
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - Stack trace:
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - @chrome://mochitests/content/browser/browser/base/content/test/fullscreen/browser_bug1620341.js:48:20
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1604:15
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - Leaving test bound test_fullscreen_cross_origin
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - GECKO(1397) | MEMORY STAT | vsize 11458MB | residentFast 1211MB | heapAllocated 116MB
[task 2021-04-30T18:19:55.989Z] 18:19:55     INFO - TEST-OK | browser/base/content/test/fullscreen/browser_bug1620341.js | took 736ms```