Bug: High freq browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2024-05-30 20:42:53+00:00
Resolved: 2024-11-29 15:25:25+00:00

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

---
```
TEST-PASS | browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js | The prompt is shown when an executable is configured as handler. - null != [object HTMLElement] - 
[task 2024-05-30T19:46:26.319Z] 19:46:26     INFO - Leaving test bound promptShownForLocalHandler
[task 2024-05-30T19:46:26.319Z] 19:46:26     INFO - Entering test bound check_no_button
[task 2024-05-30T19:46:26.319Z] 19:46:26     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "protocolhandler-mailto-os-handler-yes-button" a child element of type "hbox" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2024-05-30T19:46:26.320Z] 19:46:26     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "protocolhandler-mailto-os-handler-no-button" a child element of type "hbox" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2024-05-30T19:46:26.320Z] 19:46:26     INFO - Buffered messages finished
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - TEST-UNEXPECTED-FAIL | browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js | The prompt is shown with dualPrompt.onLocationChange toggled on. - null != null - {"filename":"chrome://mochitests/content/browser/browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js","name":"check_no_button/<","sourceId":735,"lineNumber":213,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"resource://testing-common/BrowserTestUtils.sys.mjs","name":"withNewTab","sourceId":620,"lineNumber":146,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js","name":"check_no_button","sourceId":735,"lineNumber":212,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":589,"lineNumber":1139,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":589,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":589,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":589,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":614,"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":"async*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":{}},"caller":null,"formattedStack":"async*check_no_button@chrome://mochitests/content/browser/browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js:212:26\nasync*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":{}},"caller":null,"formattedStack":"withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*check_no_button@chrome://mochitests/content/browser/browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js:212:26\nasync*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":"check_no_button/<@chrome://mochitests/content/browser/browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js:213:12\nwithNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22\nasync*check_no_button@chrome://mochitests/content/browser/browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js:212:26\nasync*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":{}}
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - Stack trace:
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - chrome://mochitests/content/browser/browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js:check_no_button/<:213
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - chrome://mochitests/content/browser/browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js:check_no_button:212
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-05-30T19:46:26.329Z] 19:46:26     INFO - GECKO(3600) | console.debug: WebProtocolHandlerRegistrar.sys.mjs:
[task 2024-05-30T19:46:26.330Z] 19:46:26     INFO - GECKO(3600) |   no such setting: 'dismissed'
[task 2024-05-30T19:46:26.331Z] 19:46:26     INFO - GECKO(3600) | [Child 2536: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 256286dec00 == 1 [pid = 2536] [id = 0]
[task 2024-05-30T19:46:26.331Z] 19:46:26     INFO - GECKO(3600) | [Child 2536: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (2562604e020) [pid = 2536] [serial = 1] [outer = 0]
[task 2024-05-30T19:46:26.332Z] 19:46:26     INFO - GECKO(3600) | [Child 2536: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (256286e1800) [pid = 2536] [serial = 2] [outer = 2562604e020]
[task 2024-05-30T19:46:26.333Z] 19:46:26     INFO - GECKO(3600) | console.debug: WebProtocolHandlerRegistrar.sys.mjs:
[task 2024-05-30T19:46:26.333Z] 19:46:26     INFO - GECKO(3600) |   no such setting: 'xclicked'
[task 2024-05-30T19:46:26.334Z] 19:46:26     INFO - GECKO(3600) | console.debug: WebProtocolHandlerRegistrar.sys.mjs:
[task 2024-05-30T19:46:26.335Z] 19:46:26     INFO - GECKO(3600) |   Problem in observer: TypeError: can't access property "getNotificationBox", browser.getTabBrowser() is null
[task 2024-05-30T19:46:26.338Z] 19:46:26     INFO - GECKO(3600) | [Child 5276, Main Thread] WARNING: 'AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed)', file /builds/worker/checkouts/gecko/gfx/ipc/CanvasShutdownManager.cpp:97
[task 2024-05-30T19:46:26.338Z] 19:46:26     INFO - GECKO(3600) | [Child 5276, Main Thread] WARNING: 'AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed)', file /builds/worker/checkouts/gecko/gfx/ipc/CanvasShutdownManager.cpp:97
[task 2024-05-30T19:46:26.338Z] 19:46:26     INFO - GECKO(3600) | [Child 5276, Main Thread] WARNING: IPC message 'PNecko::Msg_RemoveRequestContext' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:551
[task 2024-05-30T19:46:26.338Z] 19:46:26     INFO - GECKO(3600) | [Child 5276: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1ffcccef800 == 0 [pid = 5276] [id = 0] [url = https://example.com/]
[task 2024-05-30T19:46:26.339Z] 19:46:26     INFO - GECKO(3600) | [Parent 4144, Main Thread] WARNING: NS_ENSURE_TRUE(mBounceTrackingRecord) failed: file /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingState.cpp:596
[task 2024-05-30T19:46:26.339Z] 19:46:26     INFO - GECKO(3600) | [Parent 4144, Main Thread] WARNING: BounceTrackingState::OnDocumentStartRequest failed.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2607
[task 2024-05-30T19:46:26.341Z] 19:46:26     INFO - GECKO(3600) | [Child 2536: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (256286e4800) [pid = 2536] [serial = 3] [outer = 2562604e020]
[task 2024-05-30T19:46:26.341Z] 19:46:26     INFO - GECKO(3600) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171709688650503\AppData\Local\Temp\tmpcn1240ln.mozrunner\runtests_leaks_tab_pid8256.log
[task 2024-05-30T19:46:26.357Z] 19:46:26     INFO - GECKO(3600) | [Child 5276: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1ffcccf5400) [pid = 5276] [serial = 3] [outer = 0] [url = https://example.com/]
[task 2024-05-30T19:46:26.357Z] 19:46:26     INFO - GECKO(3600) | [Child 5276: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1ffcccf2400) [pid = 5276] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-30T19:46:26.360Z] 19:46:26     INFO - GECKO(3600) | [Child 5276: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1ffd00f9020) [pid = 5276] [serial = 1] [outer = 0] [url = https://example.com/]
[task 2024-05-30T19:46:26.434Z] 19:46:26     INFO - GECKO(3600) | console.debug: WebProtocolHandlerRegistrar.sys.mjs:
[task 2024-05-30T19:46:26.434Z] 19:46:26     INFO - GECKO(3600) |   no such setting: 'dismissed'
[task 2024-05-30T19:46:26.444Z] 19:46:26     INFO - GECKO(3600) | console.debug: WebProtocolHandlerRegistrar.sys.mjs:
INFO - GECKO(3600) |   no such setting: 'xclicked'
[task 2024-05-30T19:46:26.476Z] 19:46:26     INFO - GECKO(3600) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171709688650503\AppData\Local\Temp\tmpcn1240ln.mozrunner\runtests_leaks_tab_pid10236.log
[task 2024-05-30T19:46:26.485Z] 19:46:26     INFO - GECKO(3600) | [fluent-dom] While translating an element with fluent ID "protocolhandler-mailto-os-handler-yes-button" a child element of type "hbox" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type.
[task 2024-05-30T19:46:26.487Z] 19:46:26     INFO - GECKO(3600) | [fluent-dom] While translating an element with fluent ID "protocolhandler-mailto-os-handler-no-button" a child element of type "hbox" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type.
[task 2024-05-30T19:46:26.500Z] 19:46:26     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "protocolhandler-mailto-os-handler-yes-button" a child element of type "hbox" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2024-05-30T19:46:26.501Z] 19:46:26     INFO - Console message: [JavaScript Warning: "[fluent-dom] While translating an element with fluent ID "protocolhandler-mailto-os-handler-no-button" a child element of type "hbox" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2024-05-30T19:46:26.505Z] 19:46:26     INFO - GECKO(3600) | [Parent 4144, Main Thread] WARNING: NS_ENSURE_TRUE(mBounceTrackingRecord) failed: file /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingState.cpp:668
[task 2024-05-30T19:46:26.544Z] 19:46:26     INFO - TEST-PASS | browser/components/tests/browser/browser_default_webprotocol_handler_mailto.js | is the no-button there? - null != "[object XULElement]" - 
```