Bug: Intermittent browser/components/urlbar/tests/browser/browser_oneOffs.js | Uncaught exception - at /urlbar/tests/browser/browser_oneOffs.js:750 - TypeError: can't access property "domWasUpdated", oneOffSearchButtons._engineInfo is null
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-10-07 21:12:30+00:00
Resolved: 2021-11-02 17:00:21+00:00

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

---
```
[task 2021-10-07T20:08:18.283Z] 20:08:18     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_oneOffs.js
[task 2021-10-07T20:08:19.438Z] 20:08:19     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: '!mOwner', file /builds/worker/checkouts/gecko/dom/events/Event.cpp:719
[task 2021-10-07T20:08:21.364Z] 20:08:21     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f3c87648800 == 24 [pid = 6493] [id = 66]
[task 2021-10-07T20:08:21.364Z] 20:08:21     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 70 (7f3c891eb200) [pid = 6493] [serial = 159] [outer = 0]
[task 2021-10-07T20:08:21.367Z] 20:08:21     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 71 (7f3c87649c00) [pid = 6493] [serial = 160] [outer = 7f3c891eb200]
[task 2021-10-07T20:08:21.532Z] 20:08:21     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 72 (7f3c8764e800) [pid = 6493] [serial = 161] [outer = 7f3c891eb200]
[task 2021-10-07T20:08:21.580Z] 20:08:21     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f3c87645400 == 23 [pid = 6493] [id = 64] [url = about:blank]
[task 2021-10-07T20:08:21.908Z] 20:08:21     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::CreateTransactionForCollapsedRange() failed: file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:3841
[task 2021-10-07T20:08:21.909Z] 20:08:21     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::CreateTransactionForDeleteSelection() failed: file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:4698
[task 2021-10-07T20:08:21.911Z] 20:08:21     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::DeleteRangesWithTransaction(eNoStrip) failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/TextEditSubActionHandler.cpp:681
[task 2021-10-07T20:08:21.912Z] 20:08:21     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: TextEditor::HandleDeleteSelectionInternal(eNoStrip) failed: 'result.Succeeded()', file /builds/worker/checkouts/gecko/editor/libeditor/TextEditSubActionHandler.cpp:618
[task 2021-10-07T20:08:21.914Z] 20:08:21     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: TextEditor::HandleDeleteSelection() failed: 'result.Succeeded()', file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:4285
[task 2021-10-07T20:08:21.915Z] 20:08:21     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::DeleteSelectionAsSubAction() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:4248
[task 2021-10-07T20:08:21.917Z] 20:08:21     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::DeleteSelectionAsAction() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/EditorCommands.cpp:622
[task 2021-10-07T20:08:21.923Z] 20:08:21     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: Failed to do command from nsIControllerCommand::DoCommand(): 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/EditorCommands.cpp:69
[task 2021-10-07T20:08:22.053Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: '!mOwner', file /builds/worker/checkouts/gecko/dom/events/Event.cpp:719
[task 2021-10-07T20:08:22.136Z] 20:08:22     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f3c8764a400 == 24 [pid = 6493] [id = 67]
[task 2021-10-07T20:08:22.136Z] 20:08:22     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 73 (7f3c891eb740) [pid = 6493] [serial = 162] [outer = 0]
[task 2021-10-07T20:08:22.138Z] 20:08:22     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 74 (7f3c8764b400) [pid = 6493] [serial = 163] [outer = 7f3c891eb740]
[task 2021-10-07T20:08:22.260Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: '!mOwner', file /builds/worker/checkouts/gecko/dom/events/Event.cpp:719
[task 2021-10-07T20:08:22.288Z] 20:08:22     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 75 (7f3c87651400) [pid = 6493] [serial = 164] [outer = 7f3c891eb740]
[task 2021-10-07T20:08:22.724Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::CreateTransactionForCollapsedRange() failed: file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:3841
[task 2021-10-07T20:08:22.726Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::CreateTransactionForDeleteSelection() failed: file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:4698
[task 2021-10-07T20:08:22.728Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::DeleteRangesWithTransaction(eNoStrip) failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/TextEditSubActionHandler.cpp:681
[task 2021-10-07T20:08:22.730Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: TextEditor::HandleDeleteSelectionInternal(eNoStrip) failed: 'result.Succeeded()', file /builds/worker/checkouts/gecko/editor/libeditor/TextEditSubActionHandler.cpp:618
[task 2021-10-07T20:08:22.731Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: TextEditor::HandleDeleteSelection() failed: 'result.Succeeded()', file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:4285
[task 2021-10-07T20:08:22.732Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::DeleteSelectionAsSubAction() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:4248
[task 2021-10-07T20:08:22.733Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::DeleteSelectionAsAction() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/EditorCommands.cpp:622
[task 2021-10-07T20:08:22.734Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: Failed to do command from nsIControllerCommand::DoCommand(): 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/EditorCommands.cpp:69
[task 2021-10-07T20:08:22.903Z] 20:08:22     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: '!mOwner', file /builds/worker/checkouts/gecko/dom/events/Event.cpp:719
[task 2021-10-07T20:08:24.276Z] 20:08:24     INFO - GECKO(6426) | [Parent 6426, Main Thread] WARNING: EditorBase::CreateTransactionForCollapsedRange() failed: file /builds/worker/checkouts/gecko/editor/libeditor/EditorBase.cpp:3841
<...>
[task 2021-10-07T20:08:27.639Z] 20:08:27     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_oneOffs.js | domWasUpdated should not be populated since we haven't yet tried to rebuild the one-offs. - "undefined" == "undefined" - 
[task 2021-10-07T20:08:27.639Z] 20:08:27     INFO - Awaiting for the urlbar panel to open
[task 2021-10-07T20:08:27.639Z] 20:08:27     INFO - Urlbar panel opened
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - Buffered messages finished
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_oneOffs.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_oneOffs.js:750 - TypeError: can't access property "domWasUpdated", oneOffSearchButtons._engineInfo is null
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - Stack trace:
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - avoidWillHideRace@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_oneOffs.js:750:1
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - Leaving test bound avoidWillHideRace
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - Entering test bound individualLocalShortcutsHidden
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 25 (7f7d84a5a580) [pid = 6426] [serial = 171] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (7f7d85bfd900) [pid = 6426] [serial = 179] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:27.640Z] 20:08:27     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (7f7d85bfde40) [pid = 6426] [serial = 175] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:31.016Z] 20:08:31     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (7f7d9166a000) [pid = 6426] [serial = 180] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:31.017Z] 20:08:31     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (7f7d8f3a8800) [pid = 6426] [serial = 176] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:31.019Z] 20:08:31     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (7f7d90533800) [pid = 6426] [serial = 172] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:31.840Z] 20:08:31     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (7f7d86073580) [pid = 6426] [serial = 145] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2021-10-07T20:08:31.841Z] 20:08:31     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (7f7d84d14200) [pid = 6426] [serial = 141] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2021-10-07T20:08:31.841Z] 20:08:31     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7f7d84a5a200) [pid = 6426] [serial = 169] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2021-10-07T20:08:31.841Z] 20:08:31     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7f7d84d14e40) [pid = 6426] [serial = 173] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2021-10-07T20:08:31.841Z] 20:08:31     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7f7d85b36200) [pid = 6426] [serial = 177] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2021-10-07T20:08:35.428Z] 20:08:35     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7f7d8a2a9400) [pid = 6426] [serial = 178] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:35.429Z] 20:08:35     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7f7d87e12c00) [pid = 6426] [serial = 174] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:35.430Z] 20:08:35     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7f7d86c1d400) [pid = 6426] [serial = 170] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:35.431Z] 20:08:35     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7f7d87da5400) [pid = 6426] [serial = 142] [outer = 0] [url = about:blank]
[task 2021-10-07T20:08:35.432Z] 20:08:35     INFO - GECKO(6426) | [Parent 6426: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7f7d8ca32400) [pid = 6426] [serial = 146] [outer = 0] [url = about:blank]
[task 2021-10-07T20:09:48.310Z] 20:09:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-07T20:09:48.311Z] 20:09:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_oneOffs.js | Test timed out - 
[task 2021-10-07T20:09:48.514Z] 20:09:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-10-07T20:09:48.515Z] 20:09:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_oneOffs.js | Uncaught exception received from previously timed out test - rebuild listener not removed before the end of test
[task 2021-10-07T20:09:48.568Z] 20:09:48     INFO - GECKO(6426) | MEMORY STAT | vsize 3706MB | residentFast 569MB | heapAllocated 286MB
[task 2021-10-07T20:09:48.570Z] 20:09:48     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_oneOffs.js | took 90286ms
[task 2021-10-07T20:09:48.586Z] 20:09:48     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f3c8764bc00 == 25 [pid = 6493] [id = 68]
[task 2021-10-07T20:09:48.587Z] 20:09:48     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 76 (7f3c891ebc80) [pid = 6493] [serial = 165] [outer = 0]
[task 2021-10-07T20:09:48.588Z] 20:09:48     INFO - GECKO(6426) | [Child 6493: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 77 (7f3c8764d000) [pid = 6493] [serial = 166] [outer = 7f3c891ebc80]
[task 2021-10-07T20:09:48.688Z] 20:09:48     INFO - checking window state
[task 2021-10-07T20:09:48.877Z] 20:09:48     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_oneOffs_contextMenu.js
```