Bug: Perma browser/base/content/test/protectionsUI/browser_protectionsUI.js | "tracking-protection-icon-container" == "urlbar-searchmode-switcher" - when Gecko 135 merges to beta on 2025-01-06
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2024-11-30 12:58:29+00:00
Resolved: 2024-12-02 19:07:58+00:00

[Central-as-beta simulation](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception&revision=ac51814302451a8030f05e8a91c167d945b4e241&searchStr=bc&test_paths=browser%2Fbase%2Fcontent%2Ftest%2FprotectionsUI&selectedTaskRun=WJczRAt4QHW12mpDS7pW-g.0)

[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=484831971&repo=try&lineNumber=2203)

```
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The blocked tracker counter is shown if there is one blocked tracker. - 
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI.js | The blocked tracker counter is correct. - 
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - Buffered messages finished
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI.js | "tracking-protection-icon-container" == "urlbar-searchmode-switcher" - 
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - Stack trace:
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/head.js:openProtectionsPanelWithKeyNav:103
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI.js:testNumberOfBlockedTrackers:567
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1673}]
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_quickRestart”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1673}]
[task 2024-11-30T11:34:41.434Z] 11:34:41     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1673}]
[task 2024-11-30T11:36:13.397Z] 11:36:13     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 2
[task 2024-11-30T11:38:13.398Z] 11:38:13     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2024-11-30T11:40:17.774Z] 11:40:17     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-11-30T11:40:17.774Z] 11:40:17     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI.js | Test timed out - 
[task 2024-11-30T11:40:17.779Z] 11:40:17     INFO - GECKO(1046) | Completed ShutdownLeaks collections in process 1046
[task 2024-11-30T11:40:17.780Z] 11:40:17     INFO - TEST-START | Shutdown
[task 2024-11-30T11:40:17.781Z] 11:40:17     INFO - Browser Chrome Test Summary
[task 2024-11-30T11:40:17.782Z] 11:40:17     INFO - Passed:  37
[task 2024-11-30T11:40:17.782Z] 11:40:17     INFO - Failed:  2
[task 2024-11-30T11:40:17.783Z] 11:40:17     INFO - Todo:    0
[task 2024-11-30T11:40:17.783Z] 11:40:17     INFO - Mode:    e10s
[task 2024-11-30T11:40:17.784Z] 11:40:17     INFO - *** End BrowserChrome Test Results ***
```