Bug: Perma TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_searchTerms.js | showSearchTerms checkbox should be shown. - false == true - when Gecko 130 merges to beta on 2024-08-05
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2024-07-26 13:45:58+00:00
Resolved: 2024-07-30 14:08:28+00:00

[Central-as-beta simulation](https://treeherder.mozilla.org/jobs?repo=try&selectedTaskRun=bqS62DskR0Spo0jjfRedgA.0&resultStatus=pending%2Crunning%2Ctestfailed%2Cbusted%2Cexception&author=tszentpeteri%40mozilla.com&fromchange=8c4246c393d480115a27cb150de96d73cab747ea&searchStr=linux%2C18.04%2Cx64%2Cwebrender%2Cdebug%2Cmochitests%2Cwith%2Csoftware%2Cwebrender%2Cenabled%2Ctest-linux1804-64-qr%2Fdebug-mochitest-browser-chrome-swr%2Cbc1)

[How to run these simulations](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log:](https://treeherder.mozilla.org/logviewer?job_id=468064371&repo=try&lineNumber=53136)

```
[task 2024-07-26T12:09:03.833Z] 12:09:03     INFO - TEST-PASS | browser/components/preferences/tests/browser_search_searchTerms.js | showSearchTerms checkbox should be hidden when search bar is enabled. - true == true - 
[task 2024-07-26T12:09:03.835Z] 12:09:03     INFO - Buffered messages finished
[task 2024-07-26T12:09:03.836Z] 12:09:03     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_search_searchTerms.js | showSearchTerms checkbox should be shown. - false == true - 
[task 2024-07-26T12:09:03.836Z] 12:09:03     INFO - Stack trace:
[task 2024-07-26T12:09:03.836Z] 12:09:03     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/browser_search_searchTerms.js:showSearchTerms_and_searchBar_preference_change:198
[task 2024-07-26T12:09:03.836Z] 12:09:03     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-07-26T12:09:03.837Z] 12:09:03     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-07-26T12:09:03.837Z] 12:09:03     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-07-26T12:09:03.837Z] 12:09:03     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-07-26T12:09:03.837Z] 12:09:03     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-07-26T12:09:03.838Z] 12:09:03     INFO - Leaving test bound showSearchTerms_and_searchBar_preference_change
[task 2024-07-26T12:09:03.839Z] 12:09:03     INFO - GECKO(19446) | [Parent 19446: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 96 (7f65701d0e00) [pid = 19446] [serial = 2476] [outer = 0] [url = about:blank]
[task 2024-07-26T12:09:03.839Z] 12:09:03     INFO - GECKO(19446) | [Parent 19446: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 95 (7f6565aafe00) [pid = 19446] [serial = 2482] [outer = 0] [url = about:blank]
[task 2024-07-26T12:09:03.908Z] 12:09:03     INFO - GECKO(19446) | MEMORY STAT | vsize 12159MB | residentFast 871MB | heapAllocated 522MB
[task 2024-07-26T12:09:03.910Z] 12:09:03     INFO - TEST-OK | browser/components/preferences/tests/browser_search_searchTerms.js | took 10394ms
[task 2024-07-26T12:09:03.918Z] 12:09:03     INFO - GECKO(19446) | [Child 19545: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f02c8276000 == 2 [pid = 19545] [id = 155]
[task 2024-07-26T12:09:03.918Z] 12:09:03     INFO - GECKO(19446) | [Child 19545: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (7f02c7953e00) [pid = 19545] [serial = 313] [outer = 0]
[task 2024-07-26T12:09:03.920Z] 12:09:03     INFO - GECKO(19446) | [Child 19545: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (7f02c8276400) [pid = 19545] [serial = 314] [outer = 7f02c7953e00]
[task 2024-07-26T12:09:03.948Z] 12:09:03     INFO - checking window state
[task 2024-07-26T12:09:03.964Z] 12:09:03     INFO - TEST-START | browser/components/preferences/tests/browser_search_subdialog_tooltip_saved_addresses.js
```