Bug: Intermittent browser/base/content/test/general/browser_addCertException.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-05-09 13:11:29+00:00
Resolved: 2025-03-03 00:41:41+00:00

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

---
```
[task 2024-05-09T11:41:50.710Z] 11:41:50     INFO - TEST-START | browser/base/content/test/general/browser_addCertException.js
[task 2024-05-09T11:41:50.727Z] 11:41:50     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL acbd400 == 2 [pid = 6544] [id = 1]
[task 2024-05-09T11:41:50.729Z] 11:41:50     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (ace0ee0) [pid = 6544] [serial = 4] [outer = 0]
[task 2024-05-09T11:41:50.729Z] 11:41:50     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (ace9400) [pid = 6544] [serial = 5] [outer = ace0ee0]
[task 2024-05-09T11:41:50.773Z] 11:41:50     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (acea600) [pid = 6544] [serial = 6] [outer = ace0ee0]
[task 2024-05-09T11:41:51.118Z] 11:41:51     INFO - GECKO(8896) | [Child 9716: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL a9f2300 == 1 [pid = 9716] [id = 0]
[task 2024-05-09T11:41:51.133Z] 11:41:51     INFO - GECKO(8896) | [Child 9716: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (568d160) [pid = 9716] [serial = 1] [outer = 0]
[task 2024-05-09T11:41:51.134Z] 11:41:51     INFO - GECKO(8896) | [Child 9716: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (a9f4100) [pid = 9716] [serial = 2] [outer = 568d160]
[task 2024-05-09T11:41:51.227Z] 11:41:51     INFO - GECKO(8896) | [Child 9716: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (ccb8600) [pid = 9716] [serial = 3] [outer = 568d160]
[task 2024-05-09T11:41:51.291Z] 11:41:51     INFO - GECKO(8896) | [Child 9716, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, NS_ERROR_INVALID_ARG) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/intl/l10n/L10nRegistry.cpp:385
[task 2024-05-09T11:41:51.291Z] 11:41:51     INFO - GECKO(8896) | [Child 9716, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, NS_ERROR_INVALID_ARG) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/intl/l10n/L10nRegistry.cpp:385
[task 2024-05-09T11:41:51.839Z] 11:41:51     INFO - GECKO(8896) | [Child 9716: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (ea11100) [pid = 9716] [serial = 4] [outer = 568d160]
[task 2024-05-09T11:41:51.902Z] 11:41:51     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL a2f5700 == 3 [pid = 9352] [id = 0] [url = about:blank]
[task 2024-05-09T11:41:51.908Z] 11:41:51     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL d436d00 == 2 [pid = 9352] [id = 2] [url = data:text/html,<body id='tab4body'><button id='tab4button' accesskey='y'>Button in Tab 4</button><script>document.body.addEventListener('keypress', (event)=>{ event.preventDefault(); });</script></body>]
[task 2024-05-09T11:41:51.909Z] 11:41:51     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL c796200 == 1 [pid = 9352] [id = 1] [url = data:text/html,<body><p><button id='button' accesskey='y'>Button</button><input id='checkbox' type='checkbox' accesskey='z'>Checkbox</p></body>]
[task 2024-05-09T11:41:51.996Z] 11:41:51     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (c7c25e0) [pid = 9352] [serial = 5] [outer = 0] [url = data:text/html,<body><p><button id='button' accesskey='y'>Button</button><input id='checkbox' type='checkbox' accesskey='z'>Checkbox</p></body>]
[task 2024-05-09T11:41:52.000Z] 11:41:52     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (d40adc0) [pid = 9352] [serial = 8] [outer = 0] [url = data:text/html,<body id='tab4body'><button id='tab4button' accesskey='y'>Button in Tab 4</button><script>document.body.addEventListener('keypress', (event)=>{ event.preventDefault(); });</script></body>]
[task 2024-05-09T11:41:52.001Z] 11:41:52     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (508f160) [pid = 9352] [serial = 1] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:52.545Z] 11:41:52     INFO - GECKO(8896) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171525453932476\AppData\Local\Temp\tmp4qoef7bu.mozrunner\runtests_leaks_tab_pid8620.log
[task 2024-05-09T11:41:53.173Z] 11:41:53     INFO - GECKO(8896) | [Parent 7944: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (156595e0) [pid = 7944] [serial = 1] [outer = 0] [url = chrome://gfxsanity/content/sanityparent.html]
[task 2024-05-09T11:41:53.329Z] 11:41:53     INFO - GECKO(8896) | [Parent 7944: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (12e8c700) [pid = 7944] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:53.337Z] 11:41:53     INFO - GECKO(8896) | [Parent 7944: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (1bf15a00) [pid = 7944] [serial = 6] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:53.344Z] 11:41:53     INFO - GECKO(8896) | [Parent 7944: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (1e859900) [pid = 7944] [serial = 11] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:55.103Z] 11:41:55     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (b5a3400) [pid = 8236] [serial = 8] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:55.106Z] 11:41:55     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (b579800) [pid = 8236] [serial = 6] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:55.107Z] 11:41:55     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (a7a4e00) [pid = 8236] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:55.107Z] 11:41:55     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (b5a4f00) [pid = 8236] [serial = 10] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:55.108Z] 11:41:55     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (16638f00) [pid = 8236] [serial = 17] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:55.109Z] 11:41:55     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (b577d00) [pid = 8236] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:56.044Z] 11:41:56     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (d439700) [pid = 9352] [serial = 10] [outer = 0] [url = data:text/html,<body id='tab4body'><button id='tab4button' accesskey='y'>Button in Tab 4</button><script>document.body.addEventListener('keypress', (event)=>{ event.preventDefault(); });</script></body>]
[task 2024-05-09T11:41:56.049Z] 11:41:56     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (d437c00) [pid = 9352] [serial = 9] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:56.049Z] 11:41:56     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (c74bd00) [pid = 9352] [serial = 7] [outer = 0] [url = data:text/html,<body><p><button id='button' accesskey='y'>Button</button><input id='checkbox' type='checkbox' accesskey='z'>Checkbox</p></body>]
[task 2024-05-09T11:41:56.050Z] 11:41:56     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (a2f6f00) [pid = 9352] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:56.050Z] 11:41:56     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (a2f8700) [pid = 9352] [serial = 3] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:56.051Z] 11:41:56     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (c797100) [pid = 9352] [serial = 6] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:56.051Z] 11:41:56     INFO - GECKO(8896) | [Child 9352: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (c795600) [pid = 9352] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:56.232Z] 11:41:56     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL acbd400 == 1 [pid = 6544] [id = 1] [url = about:blank]
[task 2024-05-09T11:41:56.236Z] 11:41:56     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 4d89000 == 0 [pid = 6544] [id = 0] [url = data:text/html,<body><button id='tab2button' accesskey='y'>Button in Tab 2</button></body>]
[task 2024-05-09T11:41:56.264Z] 11:41:56     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (ac22dc0) [pid = 6544] [serial = 1] [outer = 0] [url = data:text/html,<body><button id='tab2button' accesskey='y'>Button in Tab 2</button></body>]
[task 2024-05-09T11:41:56.269Z] 11:41:56     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (ace0ee0) [pid = 6544] [serial = 4] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:57.377Z] 11:41:57     INFO - GECKO(8896) | [Child 4984: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL cc04000 == 0 [pid = 4984] [id = 0] [url = about:blank]
[task 2024-05-09T11:41:57.392Z] 11:41:57     INFO - GECKO(8896) | [Child 4984: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (cc2bdc0) [pid = 4984] [serial = 1] [outer = 0] [url = about:blank]
[task 2024-05-09T11:41:57.660Z] 11:41:57     INFO - GECKO(8896) | [Child 8600: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 5389000 == 0 [pid = 8600] [id = 0] [url = data:text/html,<body id='tab3body'><button id='tab3button' accesskey='y'>Button in Tab 3</button><script>document.body.addEventListener('keydown', (event)=>{ event.preventDefault(); });</script></body>]
[task 2024-05-09T11:41:57.692Z] 11:41:57     INFO - GECKO(8896) | [Child 8600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (b323dc0) [pid = 8600] [serial = 1] [outer = 0] [url = data:text/html,<body id='tab3body'><button id='tab3button' accesskey='y'>Button in Tab 3</button><script>document.body.addEventListener('keydown', (event)=>{ event.preventDefault(); });</script></body>]
[task 2024-05-09T11:41:58.743Z] 11:41:58     INFO - GECKO(8896) | [Child 8636: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (a9a1e00) [pid = 8636] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-09T11:42:00.407Z] 11:42:00     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (acea600) [pid = 6544] [serial = 6] [outer = 0] [url = about:blank]
[task 2024-05-09T11:42:00.410Z] 11:42:00     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (ace9400) [pid = 6544] [serial = 5] [outer = 0] [url = about:blank]
[task 2024-05-09T11:42:00.411Z] 11:42:00     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (acbb300) [pid = 6544] [serial = 3] [outer = 0] [url = data:text/html,<body><button id='tab2button' accesskey='y'>Button in Tab 2</button></body>]
[task 2024-05-09T11:42:00.411Z] 11:42:00     INFO - GECKO(8896) | [Child 6544: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (4d8ae00) [pid = 6544] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-09T11:42:01.537Z] 11:42:01     INFO - GECKO(8896) | [Child 4984: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (cc05e00) [pid = 4984] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-09T11:42:01.805Z] 11:42:01     INFO - GECKO(8896) | [Child 8600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (538ae00) [pid = 8600] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-09T11:42:01.808Z] 11:42:01     INFO - GECKO(8896) | [Child 8600: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (b3b8300) [pid = 8600] [serial = 3] [outer = 0] [url = data:text/html,<body id='tab3body'><button id='tab3button' accesskey='y'>Button in Tab 3</button><script>document.body.addEventListener('keydown', (event)=>{ event.preventDefault(); });</script></body>]
[task 2024-05-09T11:42:06.434Z] 11:42:06     INFO - GECKO(8896) | [Child 9716: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (a9f4100) [pid = 9716] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-05-09T11:42:06.437Z] 11:42:06     INFO - GECKO(8896) | [Child 9716: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (ccb8600) [pid = 9716] [serial = 3] [outer = 0] [url = about:certerror?e=nssBadCert&u=https%3A//expired.example.com/&c=UTF-8&d=%20]
[task 2024-05-09T11:42:15.757Z] 11:42:15     INFO - GECKO(8896) | [Child 8236, Main Thread] WARNING: JSWindowActorChild::SendRawMessage (Conduits, ConduitClosed) not sent: !CanSend() || !mManager || !mManager->CanSend(): file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:61
[task 2024-05-09T11:42:15.771Z] 11:42:15     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL b57a400 == 5 [pid = 8236] [id = 3] [url = moz-extension://ed0f8828-4e68-4472-87c1-7e2ef04c7c08/_generated_background_page.html]
[task 2024-05-09T11:42:23.980Z] 11:42:23     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (b5a1280) [pid = 8236] [serial = 7] [outer = 0] [url = moz-extension://ed0f8828-4e68-4472-87c1-7e2ef04c7c08/_generated_background_page.html]
[task 2024-05-09T11:42:28.123Z] 11:42:28     INFO - GECKO(8896) | [Child 8236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (16613400) [pid = 8236] [serial = 14] [outer = 0] [url = moz-extension://ed0f8828-4e68-4472-87c1-7e2ef04c7c08/_generated_background_page.html]
[task 2024-05-09T11:43:20.755Z] 11:43:20     INFO - TEST-INFO | started process screenshot
[task 2024-05-09T11:43:21.450Z] 11:43:21     INFO - TEST-INFO | screenshot: exit 0
[task 2024-05-09T11:43:21.460Z] 11:43:21     INFO - Buffered messages logged at 11:41:50
[task 2024-05-09T11:43:21.460Z] 11:43:21     INFO - Entering test bound 
[task 2024-05-09T11:43:21.461Z] 11:43:21     INFO - Buffered messages finished
[task 2024-05-09T11:43:21.462Z] 11:43:21     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_addCertException.js | Test timed out - 
[task 2024-05-09T11:43:21.463Z] 11:43:21     INFO - GECKO(8896) | Completed ShutdownLeaks collections in process 7944
[task 2024-05-09T11:43:21.463Z] 11:43:21     INFO - TEST-START | Shutdown
```