Bug: Perma browser/components/preferences/tests/browser_localSearchShortcuts.js | Expected number of tree rows - 9 == 10 - when Gecko 135 merges to beta on 2025-01-06
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2024-12-27 11:15:27+00:00
Resolved: 2025-01-03 14:35:13+00:00

[Central-as-beta-simulation](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&selectedTaskRun=S5LB87SnRYuMiaG2NEnq6A.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel&revision=2e7995aaab1a061b72190c69248869603cf5926f&test_paths=browser%2Fcomponents%2Fpreferences%2Ftests%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=488276213&repo=try)

```
[task 2024-12-27T10:31:57.534Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: Search pane is selected by default - "paneSearch" == "paneSearch" - 
[task 2024-12-27T10:31:57.535Z] 10:31:57     INFO - Leaving setup bound 
[task 2024-12-27T10:31:57.535Z] 10:31:57     INFO - Entering test bound visible
[task 2024-12-27T10:31:57.536Z] 10:31:57     INFO - Buffered messages finished
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_localSearchShortcuts.js | Expected number of tree rows - 9 == 10 - 
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - Stack trace:
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/browser_localSearchShortcuts.js:checkRowVisibility:275
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/browser_localSearchShortcuts.js:visible:41
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-12-27T10:31:57.537Z] 10:31:57     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-12-27T10:31:57.538Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: Tree row 0 has expected engine name - "Google" == "Google" - 
[task 2024-12-27T10:31:57.539Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: Tree row 1 has expected engine name - "Amazon.com" == "Amazon.com" - 
[task 2024-12-27T10:31:57.539Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: Tree row 2 has expected engine name - "Bing" == "Bing" - 
[task 2024-12-27T10:31:57.540Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: Tree row 3 has expected engine name - "DuckDuckGo" == "DuckDuckGo" - 
[task 2024-12-27T10:31:57.541Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: Tree row 4 has expected engine name - "eBay" == "eBay" - 
[task 2024-12-27T10:31:57.542Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: Tree row 5 has expected engine name - "Wikipedia (en)" == "Wikipedia (en)" - 
[task 2024-12-27T10:31:57.543Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: l10n name is non-empty - "Bookmarks" == true - 
[task 2024-12-27T10:31:57.543Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Tree row 6 has expected shortcut name - "Bookmarks" == "Bookmarks" - 
[task 2024-12-27T10:31:57.544Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: l10n name is non-empty - "Tabs" == true - 
[task 2024-12-27T10:31:57.545Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Tree row 7 has expected shortcut name - "Tabs" == "Tabs" - 
[task 2024-12-27T10:31:57.545Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: l10n name is non-empty - "History" == true - 
[task 2024-12-27T10:31:57.546Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Tree row 8 has expected shortcut name - "History" == "History" - 
[task 2024-12-27T10:31:57.546Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Sanity check: l10n name is non-empty - "Actions" == true - 
[task 2024-12-27T10:31:57.547Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Tree row 9 has expected shortcut name - "Actions" == "Actions" - 
[task 2024-12-27T10:31:57.547Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Row is checked initially - "true" == "true" - 
[task 2024-12-27T10:31:57.548Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Row is checked initially - "true" == "true" - 
[task 2024-12-27T10:31:57.549Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Row is checked initially - "true" == "true" - 
[task 2024-12-27T10:31:57.550Z] 10:31:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_localSearchShortcuts.js | Row is checked initially - "false" == "true" - 
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - Stack trace:
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/browser_localSearchShortcuts.js:visible/<:43
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/browser_localSearchShortcuts.js:forEachLocalShortcutRow:321
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/browser_localSearchShortcuts.js:visible:42
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-12-27T10:31:57.552Z] 10:31:57     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-12-27T10:31:57.553Z] 10:31:57     INFO - Leaving test bound visible
[task 2024-12-27T10:31:57.553Z] 10:31:57     INFO - Entering test bound syncFromPrefs
[task 2024-12-27T10:31:57.554Z] 10:31:57     INFO - TEST-PASS | browser/components/preferences/tests/browser_localSearchShortcuts.js | Row is checked initially - "true" == "true" - 
```