Bug: Intermittent browser/components/urlbar/tests/browser/browser_result_menu.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2023-01-13 11:58:24+00:00
Resolved: 2023-02-27 06:54:03+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=402303193&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dSgiDczzTa-fy4m1zLls5A/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dSgiDczzTa-fy4m1zLls5A/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-01-13T11:34:09.408Z] 11:34:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_result_menu.js | found the menu button at result index 1 - 
[task 2023-01-13T11:34:09.409Z] 11:34:09     INFO - waiting for the menu to open
[task 2023-01-13T11:34:09.409Z] 11:34:09     INFO - pressing access key (R) to activate menu item
[task 2023-01-13T11:34:09.410Z] 11:34:09     INFO - waiting for command event
[task 2023-01-13T11:34:09.410Z] 11:34:09     INFO - Buffered messages logged at 11:33:25
[task 2023-01-13T11:34:09.411Z] 11:34:09     INFO - Console message: [JavaScript Error: "TypeError: can't access property "interactionType", startEventInfo is null" {file: "resource:///modules/UrlbarController.sys.mjs" line: 1153}]
[task 2023-01-13T11:34:09.411Z] 11:34:09     INFO - #getInteractionType@resource:///modules/UrlbarController.sys.mjs:1153:23
[task 2023-01-13T11:34:09.411Z] 11:34:09     INFO - _recordSearchEngagementTelemetry@resource:///modules/UrlbarController.sys.mjs:1065:49
[task 2023-01-13T11:34:09.411Z] 11:34:09     INFO - startPauseImpressionTimer/this._pauseImpressionTimer<@resource:///modules/UrlbarController.sys.mjs:885:12
[task 2023-01-13T11:34:09.411Z] 11:34:09     INFO - notify@resource://gre/modules/Timer.sys.mjs:49:17
[task 2023-01-13T11:34:09.411Z] 11:34:09     INFO - 
[task 2023-01-13T11:34:09.411Z] 11:34:09     INFO - Buffered messages finished
[task 2023-01-13T11:34:09.412Z] 11:34:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_result_menu.js | Test timed out - 
[task 2023-01-13T11:34:09.412Z] 11:34:09     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-13T11:34:09.413Z] 11:34:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_result_menu.js | Uncaught exception received from previously timed out test - command listener not removed before the end of test
[task 2023-01-13T11:34:09.414Z] 11:34:09     INFO - Entering test bound test_remove_search_history
[task 2023-01-13T11:34:09.414Z] 11:34:09     INFO - Extension loaded
[task 2023-01-13T11:34:09.414Z] 11:34:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_result_menu.js | Search provider extension should be running - "running" == "running" - 
[task 2023-01-13T11:34:09.415Z] 11:34:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_result_menu.js | Extension ID of search provider should be set - "example@tests.mozilla.org" == true - 
[task 2023-01-13T11:34:09.416Z] 11:34:09     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_result_menu.js | Should find form history after adding it - ["foobar"] deepEqual ["foobar"] - 
[task 2023-01-13T11:34:09.416Z] 11:34:09     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-13T11:34:09.417Z] 11:34:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_result_menu.js | Uncaught exception received from previously timed out test - at resource://testing-common/UrlbarTestUtils.sys.mjs:126 - TypeError: waitForFocus is not a function
[task 2023-01-13T11:34:09.417Z] 11:34:09     INFO - Stack trace:
[task 2023-01-13T11:34:09.417Z] 11:34:09     INFO - promiseAutocompleteResultPopup/<@resource://testing-common/UrlbarTestUtils.sys.mjs:126:48
[task 2023-01-13T11:34:09.417Z] 11:34:09     INFO - promiseAutocompleteResultPopup@resource://testing-common/UrlbarTestUtils.sys.mjs:126:13
[task 2023-01-13T11:34:09.417Z] 11:34:09     INFO - test_remove_search_history@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_result_menu.js:113:25
[task 2023-01-13T11:34:09.418Z] 11:34:09     INFO - Entering test bound firefoxSuggest
[task 2023-01-13T11:34:09.418Z] 11:34:09     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-13T11:34:09.419Z] 11:34:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_result_menu.js | Uncaught exception received from previously timed out test - at resource://testing-common/UrlbarTestUtils.sys.mjs:126 - TypeError: waitForFocus is not a function
[task 2023-01-13T11:34:09.420Z] 11:34:09     INFO - Stack trace:
[task 2023-01-13T11:34:09.420Z] 11:34:09     INFO - promiseAutocompleteResultPopup/<@resource://testing-common/UrlbarTestUtils.sys.mjs:126:48
[task 2023-01-13T11:34:09.420Z] 11:34:09     INFO - promiseAutocompleteResultPopup@resource://testing-common/UrlbarTestUtils.sys.mjs:126:13
[task 2023-01-13T11:34:09.420Z] 11:34:09     INFO - openResults@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_result_menu.js:197:27
[task 2023-01-13T11:34:09.420Z] 11:34:09     INFO - firefoxSuggest@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_result_menu.js:216:9
[task 2023-01-13T11:34:09.420Z] 11:34:09     INFO - handleTask@chrome://mochikit/content/browser-test.js:1037:26
[task 2023-01-13T11:34:09.420Z] 11:34:09     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1109:18
[task 2023-01-13T11:34:09.740Z] 11:34:09     INFO - GECKO(1988) | MEMORY STAT | vsize 2104205MB | vsizeMaxContiguous 65479857MB | residentFast 267MB | heapAllocated 112MB
[task 2023-01-13T11:34:09.755Z] 11:34:09     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_result_menu.js | took 45470ms
[task 2023-01-13T11:34:09.767Z] 11:34:09     INFO - checking window state
[task 2023-01-13T11:34:09.780Z] 11:34:09     INFO - GECKO(1988) | Completed ShutdownLeaks collections in process 6600
[task 2023-01-13T11:34:09.781Z] 11:34:09     INFO - TEST-START | Shutdown
```