Bug: Intermittent TV browser/components/preferences/tests/browser_searchDefaultEngine.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-07-19 20:04:55+00:00
Resolved: 2022-08-16 17:00:59+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=384805056&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Gwe1LOdSTCKCEzMhKMBaSQ/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/Gwe1LOdSTCKCEzMhKMBaSQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2022-07-19T19:10:32.522Z] 19:10:32     INFO - TEST-PASS | browser/components/preferences/tests/browser_searchDefaultEngine.js | Should have changed the default engine to engine2 - "engine1" == "engine1" - 
[task 2022-07-19T19:10:32.522Z] 19:10:32     INFO - Buffered messages logged at 19:10:28
[task 2022-07-19T19:10:32.523Z] 19:10:32     INFO - Leaving test bound test_setPrivateDefaultEngine
[task 2022-07-19T19:10:32.523Z] 19:10:32     INFO - Console message: [JavaScript Warning: "Element.releaseCapture() is deprecated. Use Element.releasePointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture" {file: "chrome://global/content/elements/menupopup.js" line: 166}]
[task 2022-07-19T19:10:32.524Z] 19:10:32     INFO - Buffered messages finished
[task 2022-07-19T19:10:32.524Z] 19:10:32     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_searchDefaultEngine.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - 
[task 2022-07-19T19:10:32.525Z] 19:10:32     INFO - GECKO(2671) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2022-07-19T19:10:32.525Z] 19:10:32     INFO - GECKO(2671) | MEMORY STAT | vsize 7933MB | residentFast 371MB | heapAllocated 152MB
[task 2022-07-19T19:10:32.525Z] 19:10:32     INFO - TEST-OK | browser/components/preferences/tests/browser_searchDefaultEngine.js | took 95609ms
[task 2022-07-19T19:10:32.526Z] 19:10:32     INFO - GECKO(2671) | [Child 2687: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 109a32800 == 1 [pid = 2687] [id = 6]
[task 2022-07-19T19:10:32.526Z] 19:10:32     INFO - GECKO(2671) | [Child 2687: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (109a92f10) [pid = 2687] [serial = 15] [outer = 0]
[task 2022-07-19T19:10:32.526Z] 19:10:32     INFO - GECKO(2671) | [Child 2687: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (109c16400) [pid = 2687] [serial = 16] [outer = 109a92f10]
[task 2022-07-19T19:10:32.527Z] 19:10:32     INFO - GECKO(2671) | [Child 2701, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-07-19T19:10:32.527Z] 19:10:32     INFO - checking window state
[task 2022-07-19T19:10:32.528Z] 19:10:32     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 22 (12b0b0000) [pid = 2671] [serial = 42] [outer = 142fd46a0]
[task 2022-07-19T19:10:33.076Z] 19:10:33     INFO - GECKO(2671) | [Child 2701: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 108258800 == 0 [pid = 2701] [id = 0] [url = about:blank]
[task 2022-07-19T19:10:33.117Z] 19:10:33     INFO - GECKO(2671) | [Child 2700: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 10aa5b400 == 0 [pid = 2700] [id = 0] [url = about:newtab]
[task 2022-07-19T19:10:33.206Z] 19:10:33     INFO - GECKO(2671) | [Child 2700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (106992f10) [pid = 2700] [serial = 1] [outer = 0] [url = about:newtab]
[task 2022-07-19T19:10:33.206Z] 19:10:33     INFO - GECKO(2671) | [Child 2700: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (10aa5f400) [pid = 2700] [serial = 3] [outer = 0] [url = about:newtab]
[task 2022-07-19T19:10:33.662Z] 19:10:33     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 109138000 == 6 [pid = 2671] [id = 13] [url = about:preferences#search]
[task 2022-07-19T19:10:33.663Z] 19:10:33     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 14f8e3400 == 5 [pid = 2671] [id = 14] [url = about:blank]
[task 2022-07-19T19:10:33.666Z] 19:10:33     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (142fd3820) [pid = 2671] [serial = 33] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:33.666Z] 19:10:33     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (14f7ea800) [pid = 2671] [serial = 32] [outer = 0] [url = about:preferences#search]
[task 2022-07-19T19:10:33.667Z] 19:10:33     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (142fd5180) [pid = 2671] [serial = 30] [outer = 0] [url = about:preferences#search]
[task 2022-07-19T19:10:33.667Z] 19:10:33     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (15769f000) [pid = 2671] [serial = 34] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:33.668Z] 19:10:33     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (12aba2800) [pid = 2671] [serial = 37] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:33.668Z] 19:10:33     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (12b0b5c00) [pid = 2671] [serial = 35] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:34.641Z] 19:10:34     INFO - GECKO(2671) | [Parent 2671, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:306
[task 2022-07-19T19:10:34.642Z] 19:10:34     INFO - GECKO(2671) | [Parent 2671, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:306
[task 2022-07-19T19:10:34.644Z] 19:10:34     INFO - GECKO(2671) | [Parent 2671, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:306
[task 2022-07-19T19:10:34.645Z] 19:10:34     INFO - GECKO(2671) | [Parent 2671, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:306
[task 2022-07-19T19:10:34.960Z] 19:10:34     INFO - GECKO(2671) | [Child 2701: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (108259800) [pid = 2701] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:34.961Z] 19:10:34     INFO - GECKO(2671) | [Child 2701: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (102192f10) [pid = 2701] [serial = 1] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:35.172Z] 19:10:35     INFO - GECKO(2671) | [Child 2707, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:824
[task 2022-07-19T19:10:35.187Z] 19:10:35     INFO - GECKO(2671) | [Parent 2671, Compositor] WARNING: IPC Connection Error: [Parent][PCompositorManagerParent] RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1876
[task 2022-07-19T19:10:35.195Z] 19:10:35     INFO - GECKO(2671) | [Child 2707, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-07-19T19:10:35.196Z] 19:10:35     INFO - GECKO(2671) | [Parent 2671, Compositor] WARNING: IPC Connection Error: [Parent][PImageBridgeParent] RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1876
[task 2022-07-19T19:10:35.196Z] 19:10:35     INFO - GECKO(2671) | [Child 2707, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2022-07-19T19:10:35.197Z] 19:10:35     INFO - GECKO(2671) | [Child 2702, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:824
[task 2022-07-19T19:10:35.200Z] 19:10:35     INFO - GECKO(2671) | [Child 2707, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4595
[task 2022-07-19T19:10:35.203Z] 19:10:35     INFO - GECKO(2671) | [Parent 2671, Compositor] WARNING: IPC Connection Error: [Parent][PCompositorManagerParent] RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1876
[task 2022-07-19T19:10:35.209Z] 19:10:35     INFO - GECKO(2671) | [Child 2702, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-07-19T19:10:35.210Z] 19:10:35     INFO - GECKO(2671) | [Parent 2671, Compositor] WARNING: IPC Connection Error: [Parent][PImageBridgeParent] RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1876
[task 2022-07-19T19:10:35.210Z] 19:10:35     INFO - GECKO(2671) | [Child 2731, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:824
[task 2022-07-19T19:10:35.211Z] 19:10:35     INFO - GECKO(2671) | [Child 2702, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2022-07-19T19:10:35.215Z] 19:10:35     INFO - GECKO(2671) | [Child 2702, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4595
[task 2022-07-19T19:10:35.221Z] 19:10:35     INFO - GECKO(2671) | [Child 2731, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-07-19T19:10:35.222Z] 19:10:35     INFO - GECKO(2671) | [Parent 2671, Compositor] WARNING: IPC Connection Error: [Parent][PImageBridgeParent] RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1876
[task 2022-07-19T19:10:35.222Z] 19:10:35     INFO - GECKO(2671) | [Child 2731, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2022-07-19T19:10:35.226Z] 19:10:35     INFO - GECKO(2671) | [Child 2731, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4595
[task 2022-07-19T19:10:36.032Z] 19:10:36     INFO - GECKO(2671) | Completed ShutdownLeaks collections in process 2700
[task 2022-07-19T19:10:36.092Z] 19:10:36     INFO - GECKO(2671) | Completed ShutdownLeaks collections in process 2701
[task 2022-07-19T19:10:36.096Z] 19:10:36     INFO - GECKO(2671) | Completed ShutdownLeaks collections in process 2687
[task 2022-07-19T19:10:36.349Z] 19:10:36     INFO - GECKO(2671) | Completed ShutdownLeaks collections in process 2686
[task 2022-07-19T19:10:36.802Z] 19:10:36     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (1580cd0e0) [pid = 2671] [serial = 39] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:36.805Z] 19:10:36     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (14f7efc00) [pid = 2671] [serial = 38] [outer = 0] [url = about:preferences#search]
[task 2022-07-19T19:10:36.806Z] 19:10:36     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (142fd5a90) [pid = 2671] [serial = 36] [outer = 0] [url = about:preferences#search]
[task 2022-07-19T19:10:36.806Z] 19:10:36     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (158a85c00) [pid = 2671] [serial = 40] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:36.806Z] 19:10:36     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (125e97800) [pid = 2671] [serial = 41] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:37.800Z] 19:10:37     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (14feacc00) [pid = 2671] [serial = 9] [outer = 0] [url = about:blank]
[task 2022-07-19T19:10:39.432Z] 19:10:39     INFO - GECKO(2671) | [Parent 2671: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (1079cfc00) [pid = 2671] [serial = 43] [outer = 142fd46a0]
[task 2022-07-19T19:10:40.837Z] 19:10:40     INFO - GECKO(2671) | Completed ShutdownLeaks collections in process 2671
[task 2022-07-19T19:10:40.837Z] 19:10:40     INFO - TEST-START | Shutdown
```