Bug: Intermittent browser/components/preferences/tests/browser_sync_pairing.js | uncaught exception - ReferenceError: gMainPane is not defined at init_all@chrome://browser/content/preferences/preferences.js:126:3
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-09-27 17:30:12+00:00
Resolved: 2021-10-26 17:05:45+00:00

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

---
```
[task 2021-09-27T15:59:03.278Z] 15:59:03     INFO - TEST-START | browser/components/preferences/tests/browser_sync_pairing.js
[task 2021-09-27T15:59:03.501Z] 15:59:03     INFO - GECKO(4232) | JavaScript error: , line 0: uncaught exception: out of memory
[task 2021-09-27T15:59:03.563Z] 15:59:03     INFO - TEST-INFO | started process screenshot
[task 2021-09-27T15:59:03.633Z] 15:59:03     INFO - TEST-INFO | screenshot: exit 0
[task 2021-09-27T15:59:03.634Z] 15:59:03     INFO - Buffered messages logged at 15:59:03
[task 2021-09-27T15:59:03.634Z] 15:59:03     INFO - Entering test bound setup
[task 2021-09-27T15:59:03.635Z] 15:59:03     INFO - Leaving test bound setup
[task 2021-09-27T15:59:03.635Z] 15:59:03     INFO - Entering test bound testShowsQRCode
[task 2021-09-27T15:59:03.636Z] 15:59:03     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2021-09-27T15:59:03.636Z] 15:59:03     INFO - Buffered messages finished
[task 2021-09-27T15:59:03.638Z] 15:59:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_sync_pairing.js | uncaught exception - ReferenceError: gMainPane is not defined at init_all@chrome://browser/content/preferences/preferences.js:126:3
[task 2021-09-27T15:59:03.638Z] 15:59:03     INFO - 
[task 2021-09-27T15:59:03.638Z] 15:59:03     INFO - Stack trace:
[task 2021-09-27T15:59:03.638Z] 15:59:03     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2021-09-27T15:59:03.638Z] 15:59:03     INFO - GECKO(4232) | JavaScript error: chrome://browser/content/preferences/preferences.js, line 126: ReferenceError: gMainPane is not defined
[task 2021-09-27T15:59:03.639Z] 15:59:03     INFO - GECKO(4232) | console.error: "Missing preference for ID privacy.userContext.newTabContainerOnLeftClick.enabled"
[task 2021-09-27T15:59:03.640Z] 15:59:03     INFO - Console message: [JavaScript Error: "ReferenceError: gMainPane is not defined" {file: "chrome://browser/content/preferences/preferences.js" line: 126}]
[task 2021-09-27T15:59:03.640Z] 15:59:03     INFO - init_all@chrome://browser/content/preferences/preferences.js:126:3
[task 2021-09-27T15:59:03.640Z] 15:59:03     INFO - 
[task 2021-09-27T15:59:03.641Z] 15:59:03     INFO - GECKO(4232) | out of memory: 0x0000000000000048 bytes requested
[task 2021-09-27T15:59:03.841Z] 15:59:03     INFO - TEST-INFO | Main app process: exit 1
[task 2021-09-27T15:59:03.841Z] 15:59:03     INFO - Buffered messages finished
[task 2021-09-27T15:59:03.842Z] 15:59:03    ERROR - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_sync_pairing.js | application terminated with exit code 1
[task 2021-09-27T15:59:03.843Z] 15:59:03     INFO - runtests.py | Application ran for: 0:03:05.734139
```