Bug: Intermittent browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-04-09 06:30:06+00:00
Resolved: 2025-02-17 07:18:39+00:00

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

---
```
[task 2024-04-09T04:46:14.976Z] 04:46:14     INFO - TEST-START | browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js
[task 2024-04-09T04:46:15.059Z] 04:46:15     INFO - GECKO(6508) | [Child 4472: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1ac98309800 == 1 [pid = 4472] [id = 0]
[task 2024-04-09T04:46:15.059Z] 04:46:15     INFO - GECKO(6508) | [Child 4472: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1ac97dcf020) [pid = 4472] [serial = 1] [outer = 0]
[task 2024-04-09T04:46:15.061Z] 04:46:15     INFO - GECKO(6508) | [Child 4472: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1ac9830c800) [pid = 4472] [serial = 2] [outer = 1ac97dcf020]
[task 2024-04-09T04:46:15.139Z] 04:46:15     INFO - GECKO(6508) | [Child 4472: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1ac98310000) [pid = 4472] [serial = 3] [outer = 1ac97dcf020]
[task 2024-04-09T04:46:15.178Z] 04:46:15     INFO - GECKO(6508) | [Child 6312: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (2659bbcfc00) [pid = 6312] [serial = 12] [outer = 0] [url = about:blank]
[task 2024-04-09T04:46:15.179Z] 04:46:15     INFO - GECKO(6508) | [Child 6312: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (2659bbd4c00) [pid = 6312] [serial = 18] [outer = 0] [url = about:blank]
[task 2024-04-09T04:46:15.179Z] 04:46:15     INFO - GECKO(6508) | [Child 6312: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (2659bbd2c00) [pid = 6312] [serial = 16] [outer = 0] [url = about:blank]
[task 2024-04-09T04:46:15.180Z] 04:46:15     INFO - GECKO(6508) | [Child 6312: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (2659bbcdc00) [pid = 6312] [serial = 14] [outer = 0] [url = about:blank]
[task 2024-04-09T04:46:15.181Z] 04:46:15     INFO - GECKO(6508) | [Child 6312: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (265a0f09c00) [pid = 6312] [serial = 24] [outer = 0] [url = about:blank]
[task 2024-04-09T04:46:15.182Z] 04:46:15     INFO - GECKO(6508) | [Child 6312: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (265a0f09000) [pid = 6312] [serial = 22] [outer = 0] [url = about:blank]
[task 2024-04-09T04:46:15.182Z] 04:46:15     INFO - GECKO(6508) | [Child 6312: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (265a0f07400) [pid = 6312] [serial = 20] [outer = 0] [url = about:blank]
[task 2024-04-09T04:46:15.649Z] 04:46:15     INFO - TEST-INFO | started process screenshot
[task 2024-04-09T04:46:15.865Z] 04:46:15     INFO - TEST-INFO | screenshot: exit 0
[task 2024-04-09T04:46:15.867Z] 04:46:15     INFO - Buffered messages logged at 04:46:14
[task 2024-04-09T04:46:15.869Z] 04:46:15     INFO - Entering setup bound 
[task 2024-04-09T04:46:15.869Z] 04:46:15     INFO - Buffered messages logged at 04:46:15
[task 2024-04-09T04:46:15.870Z] 04:46:15     INFO - Leaving setup bound 
[task 2024-04-09T04:46:15.870Z] 04:46:15     INFO - Entering test bound testNestedStrippingGlobalParam
[task 2024-04-09T04:46:15.870Z] 04:46:15     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/base/content/test/general/dummy_page.html" line: 0}]
[task 2024-04-09T04:46:15.871Z] 04:46:15     INFO - Buffered messages finished
[task 2024-04-09T04:46:15.882Z] 04:46:15     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js | Menu item is visible - false == true - {"filename":"chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js","name":"testStripOnShare/<","sourceId":1011,"lineNumber":145,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"resource://testing-common/BrowserTestUtils.sys.mjs","name":"withNewTab","sourceId":617,"lineNumber":146,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js","name":"testStripOnShare","sourceId":1011,"lineNumber":119,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js","name":"testNestedStrippingGlobalParam","sourceId":1011,"lineNumber":34,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":585,"lineNumber":1139,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":585,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":585,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":585,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":611,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*testNestedStrippingGlobalParam@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:34:9\nhandleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*testStripOnShare@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:119:26\nasync*testNestedStrippingGlobalParam@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:34:9\nhandleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*testStripOnShare@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:119:26\nasync*testNestedStrippingGlobalParam@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:34:9\nhandleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"testStripOnShare/<@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:145:12\nasync*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*testStripOnShare@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:119:26\nasync*testNestedStrippingGlobalParam@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:34:9\nhandleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-04-09T04:46:15.882Z] 04:46:15     INFO - Stack trace:
[task 2024-04-09T04:46:15.882Z] 04:46:15     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:testStripOnShare/<:145
[task 2024-04-09T04:46:15.883Z] 04:46:15     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2024-04-09T04:46:15.883Z] 04:46:15     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:testStripOnShare:119
[task 2024-04-09T04:46:15.883Z] 04:46:15     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:testNestedStrippingGlobalParam:34
[task 2024-04-09T04:46:15.883Z] 04:46:15     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-04-09T04:46:15.883Z] 04:46:15     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-04-09T04:46:15.883Z] 04:46:15     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-04-09T04:46:15.883Z] 04:46:15     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-04-09T04:46:15.883Z] 04:46:15     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-04-09T04:46:15.884Z] 04:46:15     INFO - Initializing clipboard with "waitForClipboard-known-value-0.030885012945462753"...
[task 2024-04-09T04:46:15.885Z] 04:46:15     INFO - Succeeded initializing clipboard, start requested things...
[task 2024-04-09T04:46:15.885Z] 04:46:15     INFO - GECKO(6508) | [Child 4472, Main Thread] WARNING: NS_ENSURE_TRUE(mDoneSetup) failed: file /builds/worker/checkouts/gecko/editor/composer/nsEditingSession.cpp:1163
[task 2024-04-09T04:46:15.886Z] 04:46:15     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js | Uncaught exception in test bound testNestedStrippingGlobalParam - InvalidStateError: XULPopupElement.activateItem: Popup is not open
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - Stack trace:
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - testStripOnShare/</<@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:148:19
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - putAndVerify@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1203:11
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - SimpleTest.promiseClipboardChange@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1259:10
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - async*testStripOnShare/<@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:147:22
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - async*testStripOnShare@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:119:26
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - async*testNestedStrippingGlobalParam@chrome://mochitests/content/browser/browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js:34:9
[task 2024-04-09T04:46:15.888Z] 04:46:15     INFO - handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-04-09T04:46:15.889Z] 04:46:15     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-04-09T04:46:15.889Z] 04:46:15     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-04-09T04:46:15.889Z] 04:46:15     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-04-09T04:46:15.889Z] 04:46:15     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-04-09T04:46:15.889Z] 04:46:15     INFO - Leaving test bound testNestedStrippingGlobalParam
[task 2024-04-09T04:46:15.890Z] 04:46:15     INFO - Entering test bound testNestedStrippingSiteSpecific
[task 2024-04-09T04:46:15.890Z] 04:46:15     INFO - GECKO(6508) | [Child 5512: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1bde2af4800 == 1 [pid = 5512] [id = 0]
[task 2024-04-09T04:46:15.891Z] 04:46:15     INFO - GECKO(6508) | [Child 5512: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1bde3156020) [pid = 5512] [serial = 1] [outer = 0]
[task 2024-04-09T04:46:15.892Z] 04:46:15     INFO - GECKO(6508) | [Child 5512: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1bde2af7c00) [pid = 5512] [serial = 2] [outer = 1bde3156020]
[task 2024-04-09T04:46:15.893Z] 04:46:15     INFO - GECKO(6508) | [Child 4472, Main Thread] WARNING: 'AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed)', file /builds/worker/checkouts/gecko/gfx/ipc/CanvasShutdownManager.cpp:97
[task 2024-04-09T04:46:15.896Z] 04:46:15     INFO - GECKO(6508) | [Child 4472, Main Thread] WARNING: 'AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed)', file /builds/worker/checkouts/gecko/gfx/ipc/CanvasShutdownManager.cpp:97
[task 2024-04-09T04:46:15.898Z] 04:46:15     INFO - GECKO(6508) | [Child 5512: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1bde2afb000) [pid = 5512] [serial = 3] [outer = 1bde3156020]
[task 2024-04-09T04:46:15.898Z] 04:46:15     INFO - GECKO(6508) | [Child 4472: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1ac98309800 == 0 [pid = 4472] [id = 0] [url = https://example.com/browser/browser/base/content/test/general/dummy_page.html]
[task 2024-04-09T04:46:15.899Z] 04:46:15     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/base/content/test/general/dummy_page.html" line: 0}]
[task 2024-04-09T04:46:15.905Z] 04:46:15     INFO - GECKO(6508) | [Child 4472: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1ac97dcf020) [pid = 4472] [serial = 1] [outer = 0] [url = https://example.com/browser/browser/base/content/test/general/dummy_page.html]
[task 2024-04-09T04:46:15.905Z] 04:46:15     INFO - GECKO(6508) | [Child 4472: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1ac9830c800) [pid = 4472] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-04-09T04:46:15.906Z] 04:46:15     INFO - GECKO(6508) | [Child 4472: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1ac98310000) [pid = 4472] [serial = 3] [outer = 0] [url = https://example.com/browser/browser/base/content/test/general/dummy_page.html]
[task 2024-04-09T04:46:16.138Z] 04:46:16     INFO - GECKO(6508) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171263761580912\AppData\Local\Temp\tmpz0ka3er6.mozrunner\runtests_leaks_tab_pid2696.log
[task 2024-04-09T04:46:16.164Z] 04:46:16     INFO - GECKO(6508) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171263761580912\AppData\Local\Temp\tmpz0ka3er6.mozrunner\runtests_leaks_tab_pid800.log
[task 2024-04-09T04:46:16.569Z] 04:46:16     INFO - GECKO(6508) | [WARN  webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2024-04-09T04:46:16.606Z] 04:46:16     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_strip_on_share_nested_link.js | Menu item is visible - true == true - 
```