Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should also match somefile.doc - Got "somefile.webm", expected "somefile.doc"
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2020-12-09 23:39:10+00:00
Resolved: 2020-12-21 11:48:02+00:00

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

---
```
[task 2020-12-09T22:11:54.190Z] 22:11:54     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_extension_correction.js
[task 2020-12-09T22:11:54.281Z] 22:11:54     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fbaee74a400 == 2 [pid = 6170] [id = 4]
[task 2020-12-09T22:11:54.282Z] 22:11:54     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x7fbaee7bd200) [pid = 6170] [serial = 10] [outer = (nil)]
[task 2020-12-09T22:11:54.284Z] 22:11:54     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (0x7fbaee751000) [pid = 6170] [serial = 11] [outer = 0x7fbaee7bd200]
[task 2020-12-09T22:11:54.526Z] 22:11:54     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (0x7fbaee79f400) [pid = 6170] [serial = 12] [outer = 0x7fbaee7bd200]
[task 2020-12-09T22:11:54.692Z] 22:11:54     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7fe350031400) [pid = 6064] [serial = 34] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:54.694Z] 22:11:54     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7fe35002b800) [pid = 6064] [serial = 38] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:54.694Z] 22:11:54     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fe34f576400 == 2 [pid = 6064] [id = 16] [url = https://example.com/browser/uriloader/exthandler/tests/mochitest/file_with[funny_name.webm]
[task 2020-12-09T22:11:54.995Z] 22:11:54     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7fe350fe53c0) [pid = 6064] [serial = 35] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:54.996Z] 22:11:54     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0x7fe350fe5040) [pid = 6064] [serial = 37] [outer = (nil)] [url = about:privatebrowsing]
[task 2020-12-09T22:11:54.996Z] 22:11:54     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fe350028c00 == 1 [pid = 6064] [id = 15] [url = about:privatebrowsing]
[task 2020-12-09T22:11:55.031Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f862dc0a800 == 16 [pid = 6005] [id = 26]
[task 2020-12-09T22:11:55.031Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 45 (0x7f863441f740) [pid = 6005] [serial = 54] [outer = (nil)]
[task 2020-12-09T22:11:55.032Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 46 (0x7f862dc0b400) [pid = 6005] [serial = 55] [outer = 0x7f863441f740]
[task 2020-12-09T22:11:55.054Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1327
[task 2020-12-09T22:11:55.063Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4291
[task 2020-12-09T22:11:55.140Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/checkouts/gecko/layout/base/nsDocumentViewer.cpp:2806
[task 2020-12-09T22:11:55.260Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:202
[task 2020-12-09T22:11:55.277Z] 22:11:55     INFO - GECKO(6005) | JavaScript error: resource://gre/modules/HelperAppDlg.jsm, line 615: TypeError: can't access property "postShowCallback", this.dialog is null
[task 2020-12-09T22:11:55.318Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: The dialog should nullify the dialog progress listener: file /builds/worker/checkouts/gecko/uriloader/exthandler/nsExternalHelperAppService.cpp:2266
[task 2020-12-09T22:11:55.334Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/checkouts/gecko/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:2057
[task 2020-12-09T22:11:55.463Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: Set file metadata failed: : 'Error setting file metadata: No such file or directory', file /builds/worker/checkouts/gecko/toolkit/components/downloads/DownloadPlatform.cpp:63
[task 2020-12-09T22:11:55.630Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f862dc10c00 == 17 [pid = 6005] [id = 27]
[task 2020-12-09T22:11:55.630Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 47 (0x7f863441fac0) [pid = 6005] [serial = 56] [outer = (nil)]
[task 2020-12-09T22:11:55.630Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 48 (0x7f862dc11400) [pid = 6005] [serial = 57] [outer = 0x7f863441fac0]
[task 2020-12-09T22:11:55.651Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1327
[task 2020-12-09T22:11:55.732Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4291
[task 2020-12-09T22:11:55.830Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/checkouts/gecko/layout/base/nsDocumentViewer.cpp:2806
[task 2020-12-09T22:11:55.968Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:202
[task 2020-12-09T22:11:55.985Z] 22:11:55     INFO - GECKO(6005) | JavaScript error: resource://gre/modules/HelperAppDlg.jsm, line 615: TypeError: can't access property "postShowCallback", this.dialog is null
[task 2020-12-09T22:11:55.994Z] 22:11:55     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: The dialog should nullify the dialog progress listener: file /builds/worker/checkouts/gecko/uriloader/exthandler/nsExternalHelperAppService.cpp:2266
[task 2020-12-09T22:11:56.005Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/checkouts/gecko/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:2057
[task 2020-12-09T22:11:56.133Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: Set file metadata failed: : 'Error setting file metadata: No such file or directory', file /builds/worker/checkouts/gecko/toolkit/components/downloads/DownloadPlatform.cpp:63
[task 2020-12-09T22:11:56.283Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f8634f79c00 == 18 [pid = 6005] [id = 28]
[task 2020-12-09T22:11:56.283Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 49 (0x7f863441f900) [pid = 6005] [serial = 58] [outer = (nil)]
[task 2020-12-09T22:11:56.286Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 50 (0x7f8634f81800) [pid = 6005] [serial = 59] [outer = 0x7f863441f900]
[task 2020-12-09T22:11:56.308Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1327
[task 2020-12-09T22:11:56.433Z] 22:11:56     INFO - GECKO(6005) | [Child 6199: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7f8944f3a000) [pid = 6199] [serial = 42] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:56.434Z] 22:11:56     INFO - GECKO(6005) | [Child 6199: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7f8944f36400) [pid = 6199] [serial = 37] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:56.434Z] 22:11:56     INFO - GECKO(6005) | [Child 6199: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7f8944f37000) [pid = 6199] [serial = 39] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:56.469Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4291
[task 2020-12-09T22:11:56.572Z] 22:11:56     INFO - GECKO(6005) | [Child 6199: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7f89470cf040) [pid = 6199] [serial = 38] [outer = (nil)] [url = data:text/html,<a download href="data:text/plain,">download</a>]
[task 2020-12-09T22:11:56.613Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/checkouts/gecko/layout/base/nsDocumentViewer.cpp:2806
[task 2020-12-09T22:11:56.735Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 49 (0x7f8646ed3040) [pid = 6005] [serial = 32] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-12-09T22:11:56.817Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:202
[task 2020-12-09T22:11:56.834Z] 22:11:56     INFO - GECKO(6005) | JavaScript error: resource://gre/modules/HelperAppDlg.jsm, line 615: TypeError: can't access property "postShowCallback", this.dialog is null
[task 2020-12-09T22:11:56.852Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: The dialog should nullify the dialog progress listener: file /builds/worker/checkouts/gecko/uriloader/exthandler/nsExternalHelperAppService.cpp:2266
[task 2020-12-09T22:11:56.854Z] 22:11:56     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/checkouts/gecko/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:2057
[task 2020-12-09T22:11:57.074Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: Set file metadata failed: : 'Error setting file metadata: No such file or directory', file /builds/worker/checkouts/gecko/toolkit/components/downloads/DownloadPlatform.cpp:63
[task 2020-12-09T22:11:57.274Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f8637091800 == 19 [pid = 6005] [id = 29]
[task 2020-12-09T22:11:57.274Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 50 (0x7f863441fe40) [pid = 6005] [serial = 60] [outer = (nil)]
[task 2020-12-09T22:11:57.280Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 51 (0x7f863708d000) [pid = 6005] [serial = 61] [outer = 0x7f863441fe40]
[task 2020-12-09T22:11:57.298Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1327
[task 2020-12-09T22:11:57.424Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4291
[task 2020-12-09T22:11:57.514Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/checkouts/gecko/layout/base/nsDocumentViewer.cpp:2806
[task 2020-12-09T22:11:57.778Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:202
[task 2020-12-09T22:11:57.802Z] 22:11:57     INFO - GECKO(6005) | JavaScript error: resource://gre/modules/HelperAppDlg.jsm, line 615: TypeError: can't access property "postShowCallback", this.dialog is null
[task 2020-12-09T22:11:57.881Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: The dialog should nullify the dialog progress listener: file /builds/worker/checkouts/gecko/uriloader/exthandler/nsExternalHelperAppService.cpp:2266
[task 2020-12-09T22:11:57.939Z] 22:11:57     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/checkouts/gecko/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:2057
[task 2020-12-09T22:11:57.956Z] 22:11:57     INFO - GECKO(6005) | [Child 6199: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f8944f3d000) [pid = 6199] [serial = 40] [outer = (nil)] [url = data:text/html,<a download href="data:text/plain,">download</a>]
[task 2020-12-09T22:11:58.218Z] 22:11:58     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fbaee74f400 == 1 [pid = 6170] [id = 3] [url = about:blank]
[task 2020-12-09T22:11:58.222Z] 22:11:58     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0x7fbaee7a7000) [pid = 6170] [serial = 6] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:58.227Z] 22:11:58     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7fbaeea58c00) [pid = 6170] [serial = 7] [outer = (nil)] [url = about:privatebrowsing]
[task 2020-12-09T22:11:58.228Z] 22:11:58     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7fbaee7a6c00) [pid = 6170] [serial = 4] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:58.386Z] 22:11:58     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7fbaee7bd740) [pid = 6170] [serial = 8] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:58.394Z] 22:11:58     INFO - TEST-INFO | started process screentopng
[task 2020-12-09T22:11:58.748Z] 22:11:58     INFO - TEST-INFO | screentopng: exit 0
[task 2020-12-09T22:11:58.750Z] 22:11:58     INFO - Buffered messages logged at 22:11:54
[task 2020-12-09T22:11:58.751Z] 22:11:58     INFO - Entering test bound setup
[task 2020-12-09T22:11:58.752Z] 22:11:58     INFO - Leaving test bound setup
[task 2020-12-09T22:11:58.753Z] 22:11:58     INFO - Entering test bound test_enforce_useful_extension
[task 2020-12-09T22:11:58.755Z] 22:11:58     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "data:text/html," line: 0}]
[task 2020-12-09T22:11:58.757Z] 22:11:58     INFO - Checking image/png
[task 2020-12-09T22:11:58.757Z] 22:11:58     INFO - Waiting for dialog.
[task 2020-12-09T22:11:58.757Z] 22:11:58     INFO - Buffered messages logged at 22:11:55
[task 2020-12-09T22:11:58.757Z] 22:11:58     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | image/png should get an extension - 
<...>
[task 2020-12-09T22:11:58.804Z] 22:11:58     INFO - Buffered messages logged at 22:11:57
[task 2020-12-09T22:11:58.804Z] 22:11:58     INFO - Checking application/msword
[task 2020-12-09T22:11:58.805Z] 22:11:58     INFO - Console message: [JavaScript Error: "Unix error 2 during operation setPermissions on file /builds/worker/somefile.webm (No such file or directory)" {file: "resource://gre/modules/DownloadIntegration.jsm" line: 683}]
[task 2020-12-09T22:11:58.806Z] 22:11:58     INFO - downloadDone@resource://gre/modules/DownloadIntegration.jsm:683:12
[task 2020-12-09T22:11:58.807Z] 22:11:58     INFO - 
[task 2020-12-09T22:11:58.808Z] 22:11:58     INFO - Waiting for dialog.
[task 2020-12-09T22:11:58.809Z] 22:11:58     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | application/msword should get an extension - 
[task 2020-12-09T22:11:58.810Z] 22:11:58     INFO - Buffered messages logged at 22:11:58
[task 2020-12-09T22:11:58.816Z] 22:11:58     INFO - Console message: [JavaScript Error: "TypeError: can't access property "postShowCallback", this.dialog is null" {file: "resource://gre/modules/HelperAppDlg.jsm" line: 615}]
[task 2020-12-09T22:11:58.816Z] 22:11:58     INFO - initDialog/<@resource://gre/modules/HelperAppDlg.jsm:615:7
[task 2020-12-09T22:11:58.816Z] 22:11:58     INFO - 
[task 2020-12-09T22:11:58.817Z] 22:11:58     INFO - Download changed!
[task 2020-12-09T22:11:58.818Z] 22:11:58     INFO - Download succeeded or errored
[task 2020-12-09T22:11:58.819Z] 22:11:58     INFO - Buffered messages finished
[task 2020-12-09T22:11:58.820Z] 22:11:58     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should also match somefile.doc - Got "somefile.webm", expected "somefile.doc"
[task 2020-12-09T22:11:58.820Z] 22:11:58     INFO - Stack trace:
[task 2020-12-09T22:11:58.820Z] 22:11:58     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-12-09T22:11:58.820Z] 22:11:58     INFO - chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_extension_correction.js:checkDownloadWithExtensionState:84
[task 2020-12-09T22:11:58.822Z] 22:11:58     INFO - Checking application/pdf
[task 2020-12-09T22:11:58.822Z] 22:11:58     INFO - Waiting for dialog.
[task 2020-12-09T22:11:58.823Z] 22:11:58     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f863708f000 == 20 [pid = 6005] [id = 30]
[task 2020-12-09T22:11:58.824Z] 22:11:58     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 52 (0x7f86353fc580) [pid = 6005] [serial = 62] [outer = (nil)]
[task 2020-12-09T22:11:58.829Z] 22:11:58     INFO - GECKO(6005) | [Parent 6005: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 53 (0x7f86382a4000) [pid = 6005] [serial = 63] [outer = 0x7f86353fc580]
[task 2020-12-09T22:11:58.833Z] 22:11:58     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1327
[task 2020-12-09T22:11:58.976Z] 22:11:58     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4291
[task 2020-12-09T22:11:59.014Z] 22:11:59     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7fe350033000) [pid = 6064] [serial = 36] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:59.016Z] 22:11:59     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7fe34f577400) [pid = 6064] [serial = 41] [outer = (nil)] [url = about:blank]
[task 2020-12-09T22:11:59.021Z] 22:11:59     INFO - GECKO(6005) | [Child 6064: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7fe350f40000) [pid = 6064] [serial = 39] [outer = (nil)] [url = about:privatebrowsing]
[task 2020-12-09T22:11:59.132Z] 22:11:59     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/checkouts/gecko/layout/base/nsDocumentViewer.cpp:2806
[task 2020-12-09T22:11:59.404Z] 22:11:59     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | application/pdf should get an extension - 
<...>
[task 2020-12-09T22:12:04.722Z] 22:12:04     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should also match file_as.exe - 
[task 2020-12-09T22:12:04.903Z] 22:12:04     INFO - Leaving test bound test_broken_saved_handlerinfo_and_useless_mimetypes
[task 2020-12-09T22:12:04.964Z] 22:12:04     INFO - GECKO(6005) | [Parent 6005, Main Thread] WARNING: Set file metadata failed: : 'Error setting file metadata: No such file or directory', file /builds/worker/checkouts/gecko/toolkit/components/downloads/DownloadPlatform.cpp:63
[task 2020-12-09T22:12:05.047Z] 22:12:05     INFO - removing /builds/worker/somefile.doc
[task 2020-12-09T22:12:05.048Z] 22:12:05     INFO - Console message: [JavaScript Error: "Unix error 2 during operation setPermissions on file /builds/worker/file_as.exe (No such file or directory)" {file: "resource://gre/modules/DownloadIntegration.jsm" line: 683}]
[task 2020-12-09T22:12:05.048Z] 22:12:05     INFO - downloadDone@resource://gre/modules/DownloadIntegration.jsm:683:12
[task 2020-12-09T22:12:05.048Z] 22:12:05     INFO - 
[task 2020-12-09T22:12:05.065Z] 22:12:05     INFO - removing /builds/worker/file_as.exe
[task 2020-12-09T22:12:05.147Z] 22:12:05     INFO - GECKO(6005) | MEMORY STAT | vsize 3369MB | residentFast 415MB | heapAllocated 148MB
[task 2020-12-09T22:12:05.149Z] 22:12:05     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | took 10954ms
[task 2020-12-09T22:12:05.164Z] 22:12:05     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fbaee74c000 == 1 [pid = 6170] [id = 5]
[task 2020-12-09T22:12:05.167Z] 22:12:05     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7fbaee7bd3c0) [pid = 6170] [serial = 13] [outer = (nil)]
[task 2020-12-09T22:12:05.170Z] 22:12:05     INFO - GECKO(6005) | [Child 6170: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7fbaee751400) [pid = 6170] [serial = 14] [outer = 0x7fbaee7bd3c0]
[task 2020-12-09T22:12:05.227Z] 22:12:05     INFO - checking window state
[task 2020-12-09T22:12:05.285Z] 22:12:05     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_first_prompt_not_blocked_without_user_interaction.js```