Bug: Intermittent browser/components/search/test/browser/browser_contextmenu.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2024-02-06 15:52:55+00:00
Resolved: 2024-02-13 04:09:04+00:00

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

---
```
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - TEST-PASS | browser/components/search/test/browser/browser_contextmenu.js | Got context menu XUL - [object XULPopupElement] == true - 
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "https://example.com/browser/browser/components/search/test/browser/test_search.html" line: 0}]
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - Console message: [JavaScript Error: "TypeError: doc is null" {file: "resource:///actors/ContextMenuChild.sys.mjs" line: 559}]
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - Buffered messages finished
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_contextmenu.js | Test timed out - 
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_contextmenu.js | Extension left running at test shutdown - 
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - Stack trace:
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/browser-test.js:test_ok:1580
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/tests/SimpleTest/ExtensionTestUtils.js:ExtensionTestUtils.loadExtension/<:132
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/browser-test.js:nextTest:702
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1437
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1379
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_contextmenu.js | Extension left running at test shutdown - 
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - Stack trace:
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/browser-test.js:test_ok:1580
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/tests/SimpleTest/ExtensionTestUtils.js:ExtensionTestUtils.loadExtension/<:132
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/browser-test.js:nextTest:702
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1437
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1379
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2024-02-06T14:39:01.570Z] 14:39:01     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2024-02-06T14:39:01.633Z] 14:39:01     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-06T14:39:01.633Z] 14:39:01     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/browser_contextmenu.js | Uncaught exception received from previously timed out test bound test_normalWindow_sameDefaults - popupshown listener on #contentAreaContextMenu not removed before the end of test
[task 2024-02-06T14:39:01.641Z] 14:39:01     INFO - Entering test bound test_privateWindow_no_separate_engine
[task 2024-02-06T14:39:01.898Z] 14:39:01     INFO - GECKO(5864) | 1707230341917	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-02-06T14:39:01.930Z] 14:39:01     INFO - TEST-PASS | browser/components/search/test/browser/browser_contextmenu.js | Got context menu XUL - {"AUTOSCROLL_INTERVAL":25,"NOT_DRAGGING":0,"DRAG_OVER_BUTTON":-1,"DRAG_OVER_POPUP":1,"_draggingState":0,"_scrollTimer":0,"isRunningDelayedConnectedCallback":false,"hasConnected":true} == true - 
[task 2024-02-06T14:39:01.953Z] 14:39:01     INFO - GECKO(5864) | JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: Can't find profile directory.

```