Bug: Intermittent browser/components/preferences/tests/browser_spotlight.js | uncaught exception - TypeError: class heritage MozButton is not an object or null at @chrome://browser/content/preferences/findInPage.js:13:1
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-02-03 05:38:42+00:00
Resolved: 2022-03-01 17:08:07+00:00

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

---
```
[task 2022-02-02T20:20:23.280Z] 20:20:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_spotlight.js | The spotlighted section is cleared - 
[task 2022-02-02T20:20:23.281Z] 20:20:23     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-02-02T20:20:23.282Z] 20:20:23     INFO - Buffered messages finished
[task 2022-02-02T20:20:23.283Z] 20:20:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_spotlight.js | uncaught exception - TypeError: class heritage MozButton is not an object or null at @chrome://browser/content/preferences/findInPage.js:13:1
[task 2022-02-02T20:20:23.284Z] 20:20:23     INFO - 
[task 2022-02-02T20:20:23.284Z] 20:20:23     INFO - Stack trace:
[task 2022-02-02T20:20:23.284Z] 20:20:23     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-02-02T20:20:23.285Z] 20:20:23     INFO - GECKO(5520) | JavaScript error: chrome://browser/content/preferences/findInPage.js, line 13: TypeError: class heritage MozButton is not an object or null
[task 2022-02-02T20:20:23.286Z] 20:20:23     INFO - Console message: [JavaScript Error: "TypeError: class heritage MozButton is not an object or null" {file: "chrome://browser/content/preferences/findInPage.js" line: 13}]
[task 2022-02-02T20:20:23.286Z] 20:20:23     INFO - @chrome://browser/content/preferences/findInPage.js:13:1
[task 2022-02-02T20:20:23.286Z] 20:20:23     INFO - 
[task 2022-02-02T20:20:23.286Z] 20:20:23     INFO - GECKO(5520) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-02-02T20:20:23.287Z] 20:20:23     INFO - GECKO(5520) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-02-02T20:20:23.287Z] 20:20:23     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-02T20:20:23.288Z] 20:20:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_spotlight.js | uncaught exception - TypeError: gSearchResultsPane is undefined at init_all@chrome://browser/content/preferences/preferences.js:222:3
[task 2022-02-02T20:20:23.288Z] 20:20:23     INFO - 
[task 2022-02-02T20:20:23.289Z] 20:20:23     INFO - Stack trace:
[task 2022-02-02T20:20:23.289Z] 20:20:23     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-02-02T20:20:23.289Z] 20:20:23     INFO - GECKO(5520) | JavaScript error: chrome://browser/content/preferences/preferences.js, line 222: TypeError: gSearchResultsPane is undefined
[task 2022-02-02T20:20:23.290Z] 20:20:23     INFO - Console message: [JavaScript Error: "TypeError: gSearchResultsPane is undefined" {file: "chrome://browser/content/preferences/preferences.js" line: 222}]
[task 2022-02-02T20:20:23.290Z] 20:20:23     INFO - init_all@chrome://browser/content/preferences/preferences.js:222:3
[task 2022-02-02T20:20:23.290Z] 20:20:23     INFO - 
[task 2022-02-02T20:20:23.291Z] 20:20:23     INFO - GECKO(5520) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-02-02T20:20:23.291Z] 20:20:23     INFO - GECKO(5520) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-02-02T20:20:23.325Z] 20:20:23     INFO - GECKO(5520) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-02-02T20:20:38.326Z] 20:20:38     INFO - GECKO(5520) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-02-02T20:21:07.674Z] 20:21:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-02T20:21:07.675Z] 20:21:07     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_spotlight.js | Test timed out - 
```