Bug: Intermittent browser/components/preferences/tests/browser_spotlight.js | uncaught exception - ReferenceError: XPCOMUtils is not defined at @chrome://browser/content/preferences/preferences.js:32:1
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-08-10 01:18:50+00:00
Resolved: 2021-09-07 17:02:18+00:00

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

---
```
[task 2021-08-10T00:44:37.582Z] 00:44:37     INFO - TEST-PASS | browser/components/preferences/tests/browser_spotlight.js | The spotlighted section is cleared - 
[task 2021-08-10T00:44:37.583Z] 00:44:37     INFO - Buffered messages finished
[task 2021-08-10T00:44:37.584Z] 00:44:37     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_spotlight.js | uncaught exception - ReferenceError: XPCOMUtils is not defined at @chrome://browser/content/preferences/preferences.js:32:1
[task 2021-08-10T00:44:37.584Z] 00:44:37     INFO - 
[task 2021-08-10T00:44:37.584Z] 00:44:37     INFO - Stack trace:
[task 2021-08-10T00:44:37.584Z] 00:44:37     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2021-08-10T00:44:37.584Z] 00:44:37     INFO - GECKO(5692) | JavaScript error: chrome://browser/content/preferences/preferences.js, line 32: ReferenceError: XPCOMUtils is not defined
[task 2021-08-10T00:44:37.585Z] 00:44:37     INFO - Console message: [JavaScript Error: "ReferenceError: XPCOMUtils is not defined" {file: "chrome://browser/content/preferences/preferences.js" line: 32}]
[task 2021-08-10T00:44:37.585Z] 00:44:37     INFO - @chrome://browser/content/preferences/preferences.js:32:1
[task 2021-08-10T00:44:37.585Z] 00:44:37     INFO - 
[task 2021-08-10T00:44:37.586Z] 00:44:37     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-10T00:44:37.587Z] 00:44:37     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_spotlight.js | uncaught exception - ReferenceError: XPCOMUtils is not defined at @chrome://browser/content/preferences/main.js:46:1
[task 2021-08-10T00:44:37.587Z] 00:44:37     INFO - 
[task 2021-08-10T00:44:37.587Z] 00:44:37     INFO - Stack trace:
[task 2021-08-10T00:44:37.587Z] 00:44:37     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2021-08-10T00:44:37.587Z] 00:44:37     INFO - GECKO(5692) | JavaScript error: chrome://browser/content/preferences/main.js, line 46: ReferenceError: XPCOMUtils is not defined
[task 2021-08-10T00:44:37.588Z] 00:44:37     INFO - Console message: [JavaScript Error: "ReferenceError: XPCOMUtils is not defined" {file: "chrome://browser/content/preferences/main.js" line: 46}]
[task 2021-08-10T00:44:37.588Z] 00:44:37     INFO - @chrome://browser/content/preferences/main.js:46:1
[task 2021-08-10T00:44:37.588Z] 00:44:37     INFO - 
[task 2021-08-10T00:44:37.589Z] 00:44:37     INFO - GECKO(5692) | _create_dc_and_bitmap: Not enough storage is available to process this command.
[task 2021-08-10T00:45:19.515Z] 00:45:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-10T00:45:19.515Z] 00:45:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_spotlight.js | Test timed out - 
[task 2021-08-10T00:45:19.516Z] 00:45:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-10T00:45:19.517Z] 00:45:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_spotlight.js | Uncaught exception received from previously timed out test - Initialized listener not removed before the end of test
[task 2021-08-10T00:45:19.518Z] 00:45:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-10T00:45:19.519Z] 00:45:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_spotlight.js | A promise chain failed to handle a rejection: sync-pane-loaded observer not removed before the end of test - stack: (No stack available.)
[task 2021-08-10T00:45:19.520Z] 00:45:19     INFO - Rejection date: Tue Aug 10 2021 00:45:19 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-08-10T00:45:19.520Z] 00:45:19     INFO - Stack trace:
[task 2021-08-10T00:45:19.520Z] 00:45:19     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-08-10T00:45:19.520Z] 00:45:19     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-08-10T00:45:19.520Z] 00:45:19     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1231
[task 2021-08-10T00:45:19.520Z] 00:45:19     INFO - GECKO(5692) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 131: uncaught exception: sync-pane-loaded observer not removed before the end of test
[task 2021-08-10T00:45:19.521Z] 00:45:19     INFO - Console message: [JavaScript Error: "uncaught exception: sync-pane-loaded observer not removed before the end of test" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 131}]
[task 2021-08-10T00:45:19.553Z] 00:45:19     INFO - GECKO(5692) | MEMORY STAT | vsize 1872MB | vsizeMaxContiguous 6MB | residentFast 861MB | heapAllocated 660MB
[task 2021-08-10T00:45:19.554Z] 00:45:19     INFO - TEST-OK | browser/components/preferences/tests/browser_spotlight.js | took 45049ms
```