Bug: Intermittent browser/components/urlbar/tests/browser/browser_same_ref_deduplication.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-11-02 04:00:35+00:00
Resolved: 2024-12-02 12:06:30+00:00

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

---
```
[task 2024-11-02T03:10:52.167Z] 03:10:52     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_same_ref_deduplication.js | The tab result is the site with the highest frecency - "https://example.com/browser/browser/base/content/test/general/dummy_page.html#ref1" == "https://example.com/browser/browser/base/content/test/general/dummy_page.html#ref1" - 
[task 2024-11-02T03:10:52.167Z] 03:10:52     INFO - Buffered messages logged at 03:10:52
[task 2024-11-02T03:10:52.168Z] 03:10:52     INFO - Console message: [JavaScript Error: "TypeError: null has no properties" {file: "resource:///modules/ActionsProviderContextualSearch.sys.mjs" line: 60}]
[task 2024-11-02T03:10:52.168Z] 03:10:52     INFO - Buffered messages finished
[task 2024-11-02T03:10:52.172Z] 03:10:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_same_ref_deduplication.js | A promise chain failed to handle a rejection: null has no properties - stack: queryActions@resource:///modules/ActionsProviderContextualSearch.sys.mjs:60:33
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - async*startQuery@resource:///modules/UrlbarProviderGlobalActions.sys.mjs:67:44
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - tryMethod@resource:///modules/UrlbarUtils.sys.mjs:2506:30
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - startQuery@resource:///modules/UrlbarProvidersManager.sys.mjs:599:22
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - start/<@resource:///modules/UrlbarProvidersManager.sys.mjs:633:39
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - promise callback*start@resource:///modules/UrlbarProvidersManager.sys.mjs:632:34
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - async*startQuery@resource:///modules/UrlbarProvidersManager.sys.mjs:313:17
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - async*startQuery@resource:///modules/UrlbarController.sys.mjs:137:24
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - startQuery@resource:///modules/UrlbarInput.sys.mjs:1730:52
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - autoOpen@resource:///modules/UrlbarView.sys.mjs:700:16
[task 2024-11-02T03:10:52.173Z] 03:10:52     INFO - _afterTabSelectAndFocusChange@resource:///modules/UrlbarInput.sys.mjs:2400:19
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - afterTabSwitchFocusChange@resource:///modules/UrlbarInput.sys.mjs:2221:10
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - updateDisplay@resource:///modules/AsyncTabSwitcher.sys.mjs:483:31
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - postActions@resource:///modules/AsyncTabSwitcher.sys.mjs:686:10
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - handleEvent@resource:///modules/AsyncTabSwitcher.sys.mjs:1155:12
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - onTabRemoved@resource:///modules/AsyncTabSwitcher.sys.mjs:855:12
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - _endRemoveTab@chrome://browser/content/tabbrowser/tabbrowser.js:4714:24
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - removeTab@chrome://browser/content/tabbrowser/tabbrowser.js:4375:14
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - removeTab@resource://testing-common/BrowserTestUtils.sys.mjs:1874:30
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - test_count_tabs_as_duplicates@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_same_ref_deduplication.js:154:20
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1147:26
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1219:18
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1360:14
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1136:14
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-11-02T03:10:52.174Z] 03:10:52     INFO - Rejection date: Sat Nov 02 2024 03:10:52 GMT+0000 (Coordinated Universal Time) - false == true - 
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - Stack trace:
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - chrome://mochikit/content/browser-test.js:handleTask:1175
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - Leaving test bound test_count_tabs_as_duplicates
[task 2024-11-02T03:10:52.175Z] 03:10:52     INFO - Entering test bound test_count_bookmarks_as_duplicates
[task 2024-11-02T03:10:52.176Z] 03:10:52     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_same_ref_deduplication.js | Sites with lower frecency got deduplicated - 0 == 0 - 
```