Closed Bug 1601243 Opened 2 years ago Closed 2 years ago

Perma TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_download.js | Test timed out when Gecko 73 merges to Beta on 2020-01-06

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla73
Tracking Status
firefox-esr68 --- unaffected
firefox71 --- unaffected
firefox72 --- unaffected
firefox73 + verified

People

(Reporter: dvarga, Assigned: mattwoodrow)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [necko-triaged])

Attachments

(1 file)

Central as beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=279542107&revision=e5ba0286cc5e5b479a831b5e9f04244d3fbd52e9

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=279542107&repo=try&lineNumber=22249

[task 2019-12-04T11:22:11.908Z] 11:22:11     INFO - TEST-START | dom/serviceworkers/test/browser_download.js
[task 2019-12-04T11:22:11.911Z] 11:22:11     INFO - GECKO(6519) | Chrome file doesn't exist: /builds/worker/workspace/build/tests/mochitest/browser/dom/serviceworkers/test/head.js
[task 2019-12-04T11:22:11.949Z] 11:22:11     INFO - GECKO(6519) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2019-12-04T11:22:12.045Z] 11:22:12     INFO - GECKO(6519) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp9v2vx7.mozrunner/runtests_leaks_tab_pid6800.log
[task 2019-12-04T11:22:12.073Z] 11:22:12     INFO - GECKO(6519) | [Child 6800, Main Thread] WARNING: No CID found when attempting to map contract ID: file /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp, line 729
[task 2019-12-04T11:22:12.119Z] 11:22:12     INFO - GECKO(6519) | [Child 6786, Main Thread] WARNING: could not set real-time limit at process startup: file /builds/worker/workspace/build/src/dom/ipc/ContentChild.cpp, line 1798
[task 2019-12-04T11:22:12.134Z] 11:22:12     INFO - GECKO(6519) | [Child 6786: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f01485cb800 == 1 [pid = 6786] [id = {83bddc49-0256-4c4a-b89a-eb81672be13f}]
[task 2019-12-04T11:22:12.179Z] 11:22:12     INFO - GECKO(6519) | [Child 6674: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7ff191811400) [pid = 6674] [serial = 8] [outer = (nil)] [url = https://tracking.example.org/browser/dom/serviceworkers/test/empty_with_utils.html]
[task 2019-12-04T11:22:12.179Z] 11:22:12     INFO - GECKO(6519) | [Child 6674: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7ff194a69000) [pid = 6674] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:12.179Z] 11:22:12     INFO - GECKO(6519) | [Child 6674: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7ff194c70800) [pid = 6674] [serial = 3] [outer = (nil)] [url = https://tracking.example.org/browser/dom/serviceworkers/test/empty_with_utils.html]
[task 2019-12-04T11:22:12.179Z] 11:22:12     INFO - GECKO(6519) | [Child 6674: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7ff194c67c00) [pid = 6674] [serial = 7] [outer = (nil)] [url = https://tracking.example.org/browser/dom/serviceworkers/test/page_post_controlled.html]
[task 2019-12-04T11:22:12.179Z] 11:22:12     INFO - GECKO(6519) | [Child 6674: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7ff19378c000) [pid = 6674] [serial = 6] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:12.179Z] 11:22:12     INFO - GECKO(6519) | [Child 6674: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7ff194ce8c00) [pid = 6674] [serial = 4] [outer = (nil)] [url = http://mochi.test:8888/browser/dom/serviceworkers/test/empty_with_utils.html]
[task 2019-12-04T11:22:12.240Z] 11:22:12     INFO - GECKO(6519) | [Child 6647, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.255Z] 11:22:12     INFO - GECKO(6519) | [Child 6786: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f0149345f20) [pid = 6786] [serial = 1] [outer = (nil)]
[task 2019-12-04T11:22:12.257Z] 11:22:12     INFO - GECKO(6519) | [Child 6674, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.273Z] 11:22:12     INFO - GECKO(6519) | [Child 6786, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 848
[task 2019-12-04T11:22:12.273Z] 11:22:12     INFO - GECKO(6519) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2019-12-04T11:22:12.273Z] 11:22:12     INFO - GECKO(6519) | [Child 6786: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f0148166c00) [pid = 6786] [serial = 2] [outer = 0x7f0149345f20]
[task 2019-12-04T11:22:12.318Z] 11:22:12     INFO - GECKO(6519) | [Child 6571, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.318Z] 11:22:12     INFO - GECKO(6519) | [Child 6709, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.318Z] 11:22:12     INFO - GECKO(6519) | [Child 6764, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.318Z] 11:22:12     INFO - GECKO(6519) | [Child 6732, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.321Z] 11:22:12     INFO - GECKO(6519) | [Parent 6519, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.445Z] 11:22:12     INFO - GECKO(6519) | [Child 6800, Main Thread] WARNING: could not set real-time limit at process startup: file /builds/worker/workspace/build/src/dom/ipc/ContentChild.cpp, line 1798
[task 2019-12-04T11:22:12.461Z] 11:22:12     INFO - GECKO(6519) | [Child 6800: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f4fa33c9000 == 1 [pid = 6800] [id = {d8ba5cfb-bad7-4e60-af24-7fd4a501ddd3}]
[task 2019-12-04T11:22:12.523Z] 11:22:12     INFO - GECKO(6519) | [Child 6800: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f4fa42e8f20) [pid = 6800] [serial = 1] [outer = (nil)]
[task 2019-12-04T11:22:12.524Z] 11:22:12     INFO - GECKO(6519) | [Child 6800, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 848
[task 2019-12-04T11:22:12.524Z] 11:22:12     INFO - GECKO(6519) | [Child 6800: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f4fa2e67000) [pid = 6800] [serial = 2] [outer = 0x7f4fa42e8f20]
[task 2019-12-04T11:22:12.665Z] 11:22:12     INFO - GECKO(6519) | [Child 6800: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f4fa2e72800) [pid = 6800] [serial = 3] [outer = 0x7f4fa42e8f20]
[task 2019-12-04T11:22:12.789Z] 11:22:12     INFO - GECKO(6519) | [Child 6800, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.797Z] 11:22:12     INFO - GECKO(6519) | [Child 6800, Main Thread] WARNING: Workers don't support the 'mem.mem.' preference!: file /builds/worker/workspace/build/src/dom/workers/RuntimeService.cpp, line 547
[task 2019-12-04T11:22:12.804Z] 11:22:12     INFO - GECKO(6519) | [Child 6800, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:12.833Z] 11:22:12     INFO - GECKO(6519) | [Child 6800: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f4fa2eab000 == 2 [pid = 6800] [id = {7ace0250-aca3-430a-bf18-6b423146f124}]
[task 2019-12-04T11:22:12.833Z] 11:22:12     INFO - GECKO(6519) | [Child 6800: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f4fa42e8020) [pid = 6800] [serial = 4] [outer = (nil)]
[task 2019-12-04T11:22:12.840Z] 11:22:12     INFO - GECKO(6519) | [Child 6800: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f4fbcedf800) [pid = 6800] [serial = 5] [outer = 0x7f4fa42e8020]
[task 2019-12-04T11:22:13.002Z] 11:22:13     INFO - GECKO(6519) | [Child 6786, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.005Z] 11:22:13     INFO - GECKO(6519) | [Child 6709, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.009Z] 11:22:13     INFO - GECKO(6519) | [Child 6674, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.013Z] 11:22:13     INFO - GECKO(6519) | [Child 6764, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.013Z] 11:22:13     INFO - GECKO(6519) | [Child 6647, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.013Z] 11:22:13     INFO - GECKO(6519) | [Child 6571, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.013Z] 11:22:13     INFO - GECKO(6519) | [Child 6732, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.014Z] 11:22:13     INFO - GECKO(6519) | [Child 6592, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.018Z] 11:22:13     INFO - GECKO(6519) | [Parent 6519, Main Thread] WARNING: '!window', file /builds/worker/workspace/build/src/dom/cache/CacheStorage.cpp, line 574
[task 2019-12-04T11:22:13.055Z] 11:22:13     INFO - GECKO(6519) | [Parent 6519: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f3a1993c800 == 6 [pid = 6519] [id = {f31d1aea-d7f8-4f8e-9e34-37d58de459f5}]
[task 2019-12-04T11:22:13.055Z] 11:22:13     INFO - GECKO(6519) | [Parent 6519: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (0x7f3a15a2f7a0) [pid = 6519] [serial = 13] [outer = (nil)]
[task 2019-12-04T11:22:13.055Z] 11:22:13     INFO - GECKO(6519) | [Parent 6519: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 14 (0x7f3a19e31400) [pid = 6519] [serial = 14] [outer = 0x7f3a15a2f7a0]
[task 2019-12-04T11:22:13.123Z] 11:22:13     INFO - GECKO(6519) | [Parent 6519, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/workspace/build/src/layout/base/nsDocumentViewer.cpp, line 3169
[task 2019-12-04T11:22:13.191Z] 11:22:13     INFO - GECKO(6519) | JavaScript error: resource://gre/modules/HelperAppDlg.jsm, line 587: TypeError: this.dialog is null
[task 2019-12-04T11:22:13.199Z] 11:22:13     INFO - GECKO(6519) | [Parent 6519, Main Thread] WARNING: The dialog should nullify the dialog progress listener: file /builds/worker/workspace/build/src/uriloader/exthandler/nsExternalHelperAppService.cpp, line 2071
[task 2019-12-04T11:22:14.179Z] 11:22:14     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7f5e05d66800) [pid = 6732] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.180Z] 11:22:14     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f5e05dc2800 == 2 [pid = 6732] [id = {fbd4734e-c665-44fd-baad-ee1d9190e9a6}] [url = https://example.org/browser/dom/serviceworkers/test/page_post_controlled.html]
[task 2019-12-04T11:22:14.180Z] 11:22:14     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f5e05dc3000 == 1 [pid = 6732] [id = {8eb348a7-ee17-48ad-867c-87f832fba474}] [url = https://example.org/browser/dom/serviceworkers/test/page_post_controlled.html]
[task 2019-12-04T11:22:14.196Z] 11:22:14     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f5e061c9800 == 0 [pid = 6732] [id = {375138c0-50a7-4507-a75d-61b41162748d}] [url = https://example.org/browser/dom/serviceworkers/test/empty_with_utils.html]
[task 2019-12-04T11:22:14.252Z] 11:22:14     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7fef4bb8ac00) [pid = 6592] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.252Z] 11:22:14     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7fef4c88b800) [pid = 6592] [serial = 5] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.255Z] 11:22:14     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fef4760c800 == 2 [pid = 6592] [id = {21d9ac71-5332-4228-9acd-2922721480a6}] [url = http://mochi.test:8888/browser/dom/serviceworkers/test/empty.html]
[task 2019-12-04T11:22:14.256Z] 11:22:14     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fef47607000 == 1 [pid = 6592] [id = {97f6dfdc-2fee-4f50-84e4-d4def44fe461}] [url = http://mochi.test:8888/browser/dom/serviceworkers/test/empty.html]
[task 2019-12-04T11:22:14.317Z] 11:22:14     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7fef4c83ef20) [pid = 6592] [serial = 1] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.559Z] 11:22:14     INFO - GECKO(6519) | [Child 6571: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (0x7fa9756b6c00) [pid = 6571] [serial = 4] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.559Z] 11:22:14     INFO - GECKO(6519) | [Child 6571: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (0x7fa9756bd800) [pid = 6571] [serial = 10] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.559Z] 11:22:14     INFO - GECKO(6519) | [Child 6571: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7fa9756bb000) [pid = 6571] [serial = 8] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.559Z] 11:22:14     INFO - GECKO(6519) | [Child 6571: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7fa974962000) [pid = 6571] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.559Z] 11:22:14     INFO - GECKO(6519) | [Child 6571: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7fa9756b8c00) [pid = 6571] [serial = 6] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.647Z] 11:22:14     INFO - GECKO(6519) | [Child 6571: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7fa9758d37a0) [pid = 6571] [serial = 9] [outer = (nil)] [url = moz-extension://738c7642-e8c3-4c72-8b57-9e8cc6a1ba4a/_generated_background_page.html]
[task 2019-12-04T11:22:14.848Z] 11:22:14     INFO - GECKO(6519) | [Parent 6519: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (0x7f3a21071400) [pid = 6519] [serial = 5] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.849Z] 11:22:14     INFO - GECKO(6519) | [Parent 6519: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7f3a1e763400) [pid = 6519] [serial = 9] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:14.856Z] 11:22:14     INFO - GECKO(6519) | [Parent 6519: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f3a1993c800 == 5 [pid = 6519] [id = {f31d1aea-d7f8-4f8e-9e34-37d58de459f5}] [url = chrome://mozapps/content/downloads/unknownContentType.xul]
[task 2019-12-04T11:22:15.402Z] 11:22:15     INFO - GECKO(6519) | [Child 6647: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fde156ba000 == 0 [pid = 6647] [id = {d1a8d4fe-5172-4be3-b877-637c6cd8c6be}] [url = about:blank]
[task 2019-12-04T11:22:17.116Z] 11:22:17     INFO - GECKO(6519) | [Child 6800: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7f4fa2e67000) [pid = 6800] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:18.260Z] 11:22:18     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7f5e07290400) [pid = 6732] [serial = 6] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:18.261Z] 11:22:18     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0x7f5e05d72800) [pid = 6732] [serial = 3] [outer = (nil)] [url = https://example.org/browser/dom/serviceworkers/test/empty_with_utils.html]
[task 2019-12-04T11:22:18.329Z] 11:22:18     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7fef4ca87000) [pid = 6592] [serial = 7] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:18.330Z] 11:22:18     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7fef47683000) [pid = 6592] [serial = 12] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:18.331Z] 11:22:18     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0x7fef47680c00) [pid = 6592] [serial = 9] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:18.339Z] 11:22:18     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7fef4c888400) [pid = 6592] [serial = 3] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:18.340Z] 11:22:18     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7f5e071ac100) [pid = 6732] [serial = 8] [outer = (nil)] [url = https://example.org/browser/dom/serviceworkers/test/page_post_controlled.html]
[task 2019-12-04T11:22:18.340Z] 11:22:18     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7f5e071ab020) [pid = 6732] [serial = 5] [outer = (nil)] [url = https://example.org/browser/dom/serviceworkers/test/page_post_controlled.html]
[task 2019-12-04T11:22:18.341Z] 11:22:18     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7f5e071abf20) [pid = 6732] [serial = 1] [outer = (nil)] [url = https://example.org/browser/dom/serviceworkers/test/empty_with_utils.html]
[task 2019-12-04T11:22:18.402Z] 11:22:18     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7fef476d5980) [pid = 6592] [serial = 11] [outer = (nil)] [url = http://mochi.test:8888/browser/dom/serviceworkers/test/empty.html]
[task 2019-12-04T11:22:18.402Z] 11:22:18     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7fef476d57a0) [pid = 6592] [serial = 8] [outer = (nil)] [url = http://mochi.test:8888/browser/dom/serviceworkers/test/empty.html]
[task 2019-12-04T11:22:18.599Z] 11:22:18     INFO - GECKO(6519) | [Child 6709: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f94f96c9800 == 0 [pid = 6709] [id = {2c43091f-f4ff-460e-8802-75bba462717a}] [url = about:blank]
[task 2019-12-04T11:22:18.675Z] 11:22:18     INFO - GECKO(6519) | [Child 6571: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7fa975867400) [pid = 6571] [serial = 15] [outer = (nil)] [url = moz-extension://738c7642-e8c3-4c72-8b57-9e8cc6a1ba4a/_generated_background_page.html]
[task 2019-12-04T11:22:19.365Z] 11:22:19     INFO - GECKO(6519) | [Parent 6519: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7f3a15a2f7a0) [pid = 6519] [serial = 13] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xul]
[task 2019-12-04T11:22:19.506Z] 11:22:19     INFO - GECKO(6519) | [Child 6647: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7fde156daf20) [pid = 6647] [serial = 1] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:21.248Z] 11:22:21     INFO - GECKO(6519) | [Child 6764: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7efd23bc6800 == 0 [pid = 6764] [id = {d51f9b54-2340-4575-8262-d1a7d7b5de19}] [url = about:blank]
[task 2019-12-04T11:22:22.349Z] 11:22:22     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7f5e071d8800) [pid = 6732] [serial = 4] [outer = (nil)] [url = http://mochi.test:8888/browser/dom/serviceworkers/test/empty_with_utils.html]
[task 2019-12-04T11:22:22.349Z] 11:22:22     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f5e071d1400) [pid = 6732] [serial = 10] [outer = (nil)] [url = https://example.org/browser/dom/serviceworkers/test/empty_with_utils.html]
[task 2019-12-04T11:22:22.350Z] 11:22:22     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7f5e0729b400) [pid = 6732] [serial = 9] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:22.350Z] 11:22:22     INFO - GECKO(6519) | [Child 6732: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7f5e0728ec00) [pid = 6732] [serial = 7] [outer = (nil)] [url = https://example.org/browser/dom/serviceworkers/test/page_post_controlled.html]
[task 2019-12-04T11:22:22.426Z] 11:22:22     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7fef4c888000) [pid = 6592] [serial = 13] [outer = (nil)] [url = http://mochi.test:8888/browser/dom/serviceworkers/test/empty.html]
[task 2019-12-04T11:22:22.426Z] 11:22:22     INFO - GECKO(6519) | [Child 6592: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7fef48497400) [pid = 6592] [serial = 10] [outer = (nil)] [url = http://mochi.test:8888/browser/dom/serviceworkers/test/empty.html]
[task 2019-12-04T11:22:22.683Z] 11:22:22     INFO - GECKO(6519) | [Child 6709: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7f94f9521f20) [pid = 6709] [serial = 1] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:23.422Z] 11:22:23     INFO - GECKO(6519) | [Parent 6519: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7f3a19e31400) [pid = 6519] [serial = 14] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:23.523Z] 11:22:23     INFO - GECKO(6519) | [Child 6647: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7fde15843000) [pid = 6647] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:22:26.730Z] 11:22:26     INFO - GECKO(6519) | [Child 6709: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7f94f9269000) [pid = 6709] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2019-12-04T11:23:41.925Z] 11:23:41     INFO - TEST-INFO | started process screentopng
[task 2019-12-04T11:23:42.409Z] 11:23:42     INFO - TEST-INFO | screentopng: exit 0
[task 2019-12-04T11:23:42.410Z] 11:23:42     INFO - Buffered messages logged at 11:22:12
[task 2019-12-04T11:23:42.411Z] 11:23:42     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: "http://mochi.test:8888/browser/dom/serviceworkers/test/download/window.html" line: 0}]
[task 2019-12-04T11:23:42.411Z] 11:23:42     INFO - Buffered messages logged at 11:22:13
[task 2019-12-04T11:23:42.412Z] 11:23:42     INFO - Console message: [JavaScript Error: "TypeError: this.dialog is null" {file: "resource://gre/modules/HelperAppDlg.jsm" line: 587}]
[task 2019-12-04T11:23:42.414Z] 11:23:42     INFO - Buffered messages finished
[task 2019-12-04T11:23:42.415Z] 11:23:42     INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_download.js | Test timed out - 

:daisuke, can you please take a look at this?

Flags: needinfo?(daisuke)

:dvarga, hello!
Though I threw to try-server again without all my patches of bug 1306198, this failure still happened.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=042ff91408fac9ddde800e9a6f0f0d0abbe401b4&selectedJob=279699185
Thus, I think another code caused the failure, could you check?

Flags: needinfo?(daisuke)

:daisuke, indeed it wasn't caused by your changes.
Backing out Bug 1598516 and Bug 1600211 makes the error go away:
https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&revision=aecfd7f620754519683b9048d3832982688498c0&searchStr=%28bc

Matt, could you please take a look at it? :D

Flags: needinfo?(matt.woodrow)
Component: DOM: Service Workers → Networking
Regressed by: 1598516, 1600211
No longer regressed by: 1306198
Summary: Perma TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_download.js | Test timed out when Gecko 73 merges to Beta on 06-01-20 → Perma TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/browser_download.js | Test timed out when Gecko 73 merges to Beta on 2020-01-06

It turns out we can send messages over PHttpBackgroundChannel before OnStartRequest, in the case where we have content process serviceworkers generating a synthetic response.
This triggers diversion without sending OnStartRequest. We can remove this code again when we remove diversion.

Assignee: nobody → matt.woodrow
Status: NEW → ASSIGNED
Blocks: 1604448
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d746c1641f6f
Revert removal of OnStartRequestSent. r=mayhemer
Flags: needinfo?(matt.woodrow)

Ah right, that code didn't understand multipart.

Flags: needinfo?(matt.woodrow)
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/28ac7066588a
Revert removal of OnStartRequestSent. r=mayhemer
Priority: -- → P2
Whiteboard: [necko-triaged]
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.