Bug: Intermittent browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.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: DUPLICATE
Created: 2022-05-10 18:43:25+00:00
Resolved: 2022-07-26 00:13:32+00:00

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

---
```
[task 2022-05-10T18:25:00.568Z] 18:25:00     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | advanced should not be in search results - 
[task 2022-05-10T18:25:00.569Z] 18:25:00     INFO - Leaving test bound 
[task 2022-05-10T18:25:00.569Z] 18:25:00     INFO - Entering test bound 
[task 2022-05-10T18:25:00.570Z] 18:25:00     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-05-10T18:25:00.571Z] 18:25:00     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-05-10T18:25:00.572Z] 18:25:00     INFO - Console message: [JavaScript Error: "uncaught exception: out of memory"]
[task 2022-05-10T18:25:00.572Z] 18:25:00     INFO - Buffered messages finished
[task 2022-05-10T18:25:00.574Z] 18:25:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | uncaught exception - TypeError: class heritage MozButton is not an object or null at @chrome://browser/content/preferences/findInPage.js:13:1
[task 2022-05-10T18:25:00.574Z] 18:25:00     INFO - 
[task 2022-05-10T18:25:00.574Z] 18:25:00     INFO - Stack trace:
[task 2022-05-10T18:25:00.574Z] 18:25:00     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-05-10T18:25:00.574Z] 18:25:00     INFO - GECKO(5580) | JavaScript error: chrome://browser/content/preferences/findInPage.js, line 13: TypeError: class heritage MozButton is not an object or null
[task 2022-05-10T18:25:00.575Z] 18:25:00     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-05-10T18:25:00.575Z] 18:25:00     INFO - @chrome://browser/content/preferences/findInPage.js:13:1
[task 2022-05-10T18:25:00.575Z] 18:25:00     INFO - 
[task 2022-05-10T18:25:00.576Z] 18:25:00     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:00.576Z] 18:25:00     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:00.577Z] 18:25:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-10T18:25:00.578Z] 18:25:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | uncaught exception - TypeError: can't access property "init", gSearchResultsPane is undefined at init_all@chrome://browser/content/preferences/preferences.js:222:3
[task 2022-05-10T18:25:00.578Z] 18:25:00     INFO - 
[task 2022-05-10T18:25:00.578Z] 18:25:00     INFO - Stack trace:
[task 2022-05-10T18:25:00.578Z] 18:25:00     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-05-10T18:25:00.579Z] 18:25:00     INFO - GECKO(5580) | JavaScript error: chrome://browser/content/preferences/preferences.js, line 222: TypeError: can't access property "init", gSearchResultsPane is undefined
[task 2022-05-10T18:25:00.580Z] 18:25:00     INFO - Console message: [JavaScript Error: "TypeError: can't access property "init", gSearchResultsPane is undefined" {file: "chrome://browser/content/preferences/preferences.js" line: 222}]
[task 2022-05-10T18:25:00.580Z] 18:25:00     INFO - init_all@chrome://browser/content/preferences/preferences.js:222:3
[task 2022-05-10T18:25:00.580Z] 18:25:00     INFO - 
[task 2022-05-10T18:25:00.581Z] 18:25:00     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:00.582Z] 18:25:00     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:00.582Z] 18:25:00     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:00.583Z] 18:25:00     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:15.565Z] 18:25:15     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:15.565Z] 18:25:15     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:44.215Z] 18:25:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-10T18:25:44.215Z] 18:25:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | Test timed out - 
[task 2022-05-10T18:25:44.216Z] 18:25:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-10T18:25:44.217Z] 18:25:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | Uncaught exception received from previously timed out test - Initialized listener not removed before the end of test
[task 2022-05-10T18:25:44.217Z] 18:25:44     INFO - Entering test bound 
[task 2022-05-10T18:25:44.254Z] 18:25:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-10T18:25:44.256Z] 18:25:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.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 2022-05-10T18:25:44.256Z] 18:25:44     INFO - Rejection date: Tue May 10 2022 18:25:44 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-05-10T18:25:44.256Z] 18:25:44     INFO - Stack trace:
[task 2022-05-10T18:25:44.256Z] 18:25:44     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-05-10T18:25:44.256Z] 18:25:44     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-05-10T18:25:44.256Z] 18:25:44     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1282
[task 2022-05-10T18:25:44.257Z] 18:25:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-10T18:25:44.259Z] 18:25:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | A promise chain failed to handle a rejection: can't access property "query", gSearchResultsPane is undefined - stack: gotoPref@chrome://browser/content/preferences/preferences.js:314:5
[task 2022-05-10T18:25:44.259Z] 18:25:44     INFO - openPreferences@chrome://browser/content/utilityOverlay.js:1014:27
[task 2022-05-10T18:25:44.259Z] 18:25:44     INFO - openPreferencesViaOpenPreferencesAPI@chrome://mochitests/content/browser/browser/components/preferences/tests/head.js:103:18
[task 2022-05-10T18:25:44.259Z] 18:25:44     INFO - @chrome://mochitests/content/browser/browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js:32:9
[task 2022-05-10T18:25:44.259Z] 18:25:44     INFO - handleTask@chrome://mochikit/content/browser-test.js:989:26
[task 2022-05-10T18:25:44.259Z] 18:25:44     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1061:18
[task 2022-05-10T18:25:44.260Z] 18:25:44     INFO - ensureDOMPromiseRejectionsProcessed@resource://testing-common/PromiseTestUtils.jsm:120:17
[task 2022-05-10T18:25:44.260Z] 18:25:44     INFO - nextTest@chrome://mochikit/content/browser-test.js:624:29
[task 2022-05-10T18:25:44.260Z] 18:25:44     INFO - timeoutFn@chrome://mochikit/content/browser-test.js:1282:18
[task 2022-05-10T18:25:44.260Z] 18:25:44     INFO - Rejection date: Tue May 10 2022 18:25:44 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-05-10T18:25:44.260Z] 18:25:44     INFO - Stack trace:
[task 2022-05-10T18:25:44.260Z] 18:25:44     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-05-10T18:25:44.260Z] 18:25:44     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-05-10T18:25:44.260Z] 18:25:44     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1282
[task 2022-05-10T18:25:44.261Z] 18:25:44     INFO - GECKO(5580) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 120: uncaught exception: sync-pane-loaded observer not removed before the end of test
[task 2022-05-10T18:25:44.261Z] 18:25:44     INFO - GECKO(5580) | JavaScript error: chrome://browser/content/preferences/preferences.js, line 314: TypeError: can't access property "query", gSearchResultsPane is undefined
[task 2022-05-10T18:25:44.262Z] 18:25:44     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: 120}]
[task 2022-05-10T18:25:44.263Z] 18:25:44     INFO - Console message: [JavaScript Error: "TypeError: can't access property "query", gSearchResultsPane is undefined" {file: "chrome://browser/content/preferences/preferences.js" line: 314}]
[task 2022-05-10T18:25:44.295Z] 18:25:44     INFO - GECKO(5580) | MEMORY STAT | vsize 1855MB | vsizeMaxContiguous 4MB | residentFast 1003MB | heapAllocated 717MB
[task 2022-05-10T18:25:44.297Z] 18:25:44     INFO - TEST-OK | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | took 45118ms
[task 2022-05-10T18:25:44.297Z] 18:25:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-10T18:25:44.300Z] 18:25:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | Found a tab after previous test timed out: about:blank - 
[task 2022-05-10T18:25:44.302Z] 18:25:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-10T18:25:44.302Z] 18:25:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_subdialogs_within_preferences_site_data.js | Found a tab after previous test timed out: about:preferences#general - 
[task 2022-05-10T18:25:44.302Z] 18:25:44     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:44.302Z] 18:25:44     INFO - GECKO(5580) | [GFX1-]: wr_renderer_render: OutOfMemory
[task 2022-05-10T18:25:44.325Z] 18:25:44     INFO - checking window state
[task 2022-05-10T18:25:44.341Z] 18:25:44     INFO - TEST-START | browser/components/preferences/tests/browser_search_within_preferences_1.js
```