Bug: Intermittent browser/components/preferences/tests/browser_security-2.js | uncaught exception - ReferenceError: XPCOMUtils is not defined at @chrome://browser/content/preferences/preferences.js:45:1
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-04-06 01:29:04+00:00
Resolved: 2022-05-03 17:05:36+00:00

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

---
```
[task 2022-04-06T00:19:10.614Z] 00:19:10     INFO - TEST-PASS | browser/components/preferences/tests/browser_security-2.js | block uncommon checkbox is set correctly - 
[task 2022-04-06T00:19:10.615Z] 00:19:10     INFO - Leaving test bound 
[task 2022-04-06T00:19:10.616Z] 00:19:10     INFO - Entering test bound 
[task 2022-04-06T00:19:10.616Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.617Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.617Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.618Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.619Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.619Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.621Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.621Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.623Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.623Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.626Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.626Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.626Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.626Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.626Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.627Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.627Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.627Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.627Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.627Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.628Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.628Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.629Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.629Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.630Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.630Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.631Z] 00:19:10     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-04-06T00:19:10.631Z] 00:19:10     INFO - Buffered messages finished
[task 2022-04-06T00:19:10.632Z] 00:19:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_security-2.js | uncaught exception - ReferenceError: XPCOMUtils is not defined at @chrome://browser/content/preferences/preferences.js:45:1
[task 2022-04-06T00:19:10.632Z] 00:19:10     INFO - 
[task 2022-04-06T00:19:10.633Z] 00:19:10     INFO - Stack trace:
[task 2022-04-06T00:19:10.633Z] 00:19:10     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-04-06T00:19:10.633Z] 00:19:10     INFO - GECKO(4928) | JavaScript error: chrome://browser/content/preferences/preferences.js, line 45: ReferenceError: XPCOMUtils is not defined
[task 2022-04-06T00:19:10.634Z] 00:19:10     INFO - Console message: [JavaScript Error: "ReferenceError: XPCOMUtils is not defined" {file: "chrome://browser/content/preferences/preferences.js" line: 45}]
[task 2022-04-06T00:19:10.634Z] 00:19:10     INFO - @chrome://browser/content/preferences/preferences.js:45:1
[task 2022-04-06T00:19:10.634Z] 00:19:10     INFO - 
[task 2022-04-06T00:19:10.635Z] 00:19:10     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-06T00:19:10.636Z] 00:19:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_security-2.js | uncaught exception - ReferenceError: UpdateUtils is not defined at @chrome://browser/content/preferences/main.js:33:3
[task 2022-04-06T00:19:10.636Z] 00:19:10     INFO - 
[task 2022-04-06T00:19:10.636Z] 00:19:10     INFO - Stack trace:
[task 2022-04-06T00:19:10.636Z] 00:19:10     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-04-06T00:19:10.637Z] 00:19:10     INFO - GECKO(4928) | JavaScript error: chrome://browser/content/preferences/main.js, line 33: ReferenceError: UpdateUtils is not defined
[task 2022-04-06T00:19:10.637Z] 00:19:10     INFO - Console message: [JavaScript Error: "ReferenceError: UpdateUtils is not defined" {file: "chrome://browser/content/preferences/main.js" line: 33}]
[task 2022-04-06T00:19:10.637Z] 00:19:10     INFO - @chrome://browser/content/preferences/main.js:33:3
[task 2022-04-06T00:19:10.638Z] 00:19:10     INFO - 
[task 2022-04-06T00:19:10.638Z] 00:19:10     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-06T00:19:10.639Z] 00:19:10     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_security-2.js | Uncaught exception in test - at chrome://mochitests/content/browser/browser/components/preferences/tests/browser_security-2.js:107 - TypeError: can't access property "checked", checkbox is null
[task 2022-04-06T00:19:10.639Z] 00:19:10     INFO - Stack trace:
[task 2022-04-06T00:19:10.639Z] 00:19:10     INFO - checkPrefSwitch@chrome://mochitests/content/browser/browser/components/preferences/tests/browser_security-2.js:107:19
[task 2022-04-06T00:19:10.640Z] 00:19:10     INFO - Leaving test bound 
[task 2022-04-06T00:19:10.663Z] 00:19:10     INFO - GECKO(4928) | MEMORY STAT | vsize 1894MB | vsizeMaxContiguous 7MB | residentFast 996MB | heapAllocated 741MB
[task 2022-04-06T00:19:10.664Z] 00:19:10     INFO - TEST-OK | browser/components/preferences/tests/browser_security-2.js | took 1469ms
[task 2022-04-06T00:19:10.677Z] 00:19:10     INFO - checking window state
[task 2022-04-06T00:19:10.684Z] 00:19:10     INFO - TEST-START | browser/components/preferences/tests/browser_site_login_exceptions.js
```