Bug: Perma late beta browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | gURLBar.searchMode should exist as expected - false == true - when Gecko 133 switches to beta on 2024-11-08
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2024-10-08 15:01:26+00:00
Resolved: 2024-10-13 09:49:15+00:00

[Central-as-beta-simulation](https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=0d32e70ba40a6f3bc6bc678128d224ab3e5110f4&test_paths=browser%2Fcomponents%2Furlbar%2Ftests%2Fbrowser%2F)

[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=477226351&repo=try&lineNumber=29209)

```
[task 2024-10-08T11:07:33.198Z] 11:07:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Urlbar should never be in search mode without the corresponding attribute. - false == false - 
[task 2024-10-08T11:07:33.198Z] 11:07:33     INFO - Buffered messages finished
[task 2024-10-08T11:07:33.199Z] 11:07:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | gURLBar.searchMode should exist as expected - false == true - 
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - Stack trace:
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - resource://testing-common/UrlbarTestUtils.sys.mjs:assertSearchMode:827
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:test_navigate_switcher:227
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:test_keyboard_nav:261
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-10-08T11:07:33.201Z] 11:07:33     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-10-08T11:07:33.202Z] 11:07:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Urlbar results does not have searchmodesource attribute - true == true - 
[task 2024-10-08T11:07:33.202Z] 11:07:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-10-08T11:07:33.203Z] 11:07:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Expected searchMode - null deepEqual {"engineName":"Amazon.com","entry":"searchbutton","isPreview":false,"isGeneralPurposeEngine":false} - 
[task 2024-10-08T11:07:33.203Z] 11:07:33     INFO - Stack trace:
[task 2024-10-08T11:07:33.203Z] 11:07:33     INFO - resource://testing-common/UrlbarTestUtils.sys.mjs:assertSearchMode:902
[task 2024-10-08T11:07:33.203Z] 11:07:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:test_navigate_switcher:227
[task 2024-10-08T11:07:33.204Z] 11:07:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:test_keyboard_nav:261
[task 2024-10-08T11:07:33.204Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-10-08T11:07:33.204Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-10-08T11:07:33.204Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-10-08T11:07:33.204Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-10-08T11:07:33.204Z] 11:07:33     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-10-08T11:07:33.205Z] 11:07:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-10-08T11:07:33.206Z] 11:07:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Expected textContent - "" == "Amazon.com" - 
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - Stack trace:
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - resource://testing-common/UrlbarTestUtils.sys.mjs:assertSearchMode:926
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:test_navigate_switcher:227
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js:test_keyboard_nav:261
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-10-08T11:07:33.207Z] 11:07:33     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-10-08T11:07:33.208Z] 11:07:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_searchModeSwitcher_basic.js | Expected l10n - {"args":null,"id":null} deepEqual {"id":null,"args":null} - 


```