Bug: Intermittent browser/components/downloads/test/browser/browser_pdfjs_preview.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: 2020-06-28 12:21:48+00:00
Resolved: 2021-03-23 17:01:46+00:00

**Filed by:** ccoroiu [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=307786463&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/adPNI_X8SWGMj3sRLDldLw/runs/0/artifacts/public/logs/live_backing.log

---

task 2020-06-28T11:09:49.078Z] 11:09:49     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_pdfjs_preview.js | The preview tab was not private as expected - 
[task 2020-06-28T11:09:49.078Z] 11:09:49     INFO - cleaning up
[task 2020-06-28T11:09:49.079Z] 11:09:49     INFO - Test opened a new UI window? false
[task 2020-06-28T11:09:49.079Z] 11:09:49     INFO - Waiting for lastPBContextExitedPromise
[task 2020-06-28T11:09:49.079Z] 11:09:49     INFO - Leaving test bound about:downloads, open in background tab
[task 2020-06-28T11:09:49.088Z] 11:09:49     INFO - Console message: [JavaScript Error: "TypeError: can't access property "outerBrowser", browser is null" {file: "resource://pdf.js/PdfjsParent.jsm" line: 80}]
[task 2020-06-28T11:09:49.088Z] 11:09:49     INFO - get browser@resource://pdf.js/PdfjsParent.jsm:80:9
[task 2020-06-28T11:09:49.088Z] 11:09:49     INFO - _addEventListener@resource://pdf.js/PdfjsParent.jsm:171:19
[task 2020-06-28T11:09:49.088Z] 11:09:49     INFO - receiveMessage@resource://pdf.js/PdfjsParent.jsm:69:21
[task 2020-06-28T11:09:49.088Z] 11:09:49     INFO - 
[task 2020-06-28T11:09:49.089Z] 11:09:49     INFO - Console message: [JavaScript Warning: "Loading failed for the <script> with source “resource://pdf.js/build/pdf.js”." {file: "file:///tmp/testsavedir/downloaded.pdf" line: 31}]
[task 2020-06-28T11:09:49.089Z] 11:09:49     INFO - Buffered messages finished
[task 2020-06-28T11:09:49.090Z] 11:09:49     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_pdfjs_preview.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 2020-06-28T11:09:49.091Z] 11:09:49     INFO - GECKO(4588) | MEMORY STAT | vsize 3661MB | residentFast 669MB | heapAllocated 219MB
[task 2020-06-28T11:09:49.092Z] 11:09:49     INFO - TEST-OK | browser/components/downloads/test/browser/browser_pdfjs_preview.js | took 47276ms
[task 2020-06-28T11:09:49.093Z] 11:09:49     INFO - checking window state
[task 2020-06-28T11:09:49.094Z] 11:09:49     INFO - GECKO(4588) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-06-28T11:09:55.002Z] 11:09:55     INFO - GECKO(4588) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-06-28T11:09:55.002Z] 11:09:55     INFO - GECKO(4588) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-06-28T11:09:56.098Z] 11:09:56     INFO - GECKO(4588) | Completed ShutdownLeaks collections in process 4797
[task 2020-06-28T11:09:56.199Z] 11:09:56     INFO - GECKO(4588) | Completed ShutdownLeaks collections in process 4759
[task 2020-06-28T11:09:56.288Z] 11:09:56     INFO - GECKO(4588) | Completed ShutdownLeaks collections in process 4672
[task 2020-06-28T11:09:56.291Z] 11:09:56     INFO - GECKO(4588) | Completed ShutdownLeaks collections in process 4688
[task 2020-06-28T11:09:58.808Z] 11:09:58     INFO - GECKO(4588) | Completed ShutdownLeaks collections in process 4588
[task 2020-06-28T11:09:58.808Z] 11:09:58     INFO - TEST-START | Shutdown
[task 2020-06-28T11:09:58.809Z] 11:09:58     INFO - Browser Chrome Test Summary
[task 2020-06-28T11:09:58.809Z] 11:09:58     INFO - Passed:  323
[task 2020-06-28T11:09:58.809Z] 11:09:58     INFO - Failed:  1
[task 2020-06-28T11:09:58.809Z] 11:09:58     INFO - Todo:    5
[task 2020-06-28T11:09:58.810Z] 11:09:58     INFO - Mode:    e10s
[task 2020-06-28T11:09:58.810Z] 11:09:58     INFO - *** End BrowserChrome Test Results ***
[task 2020-06-28T11:09:59.067Z] 11:09:59     INFO - GECKO(4588) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-06-28T11:09:59.069Z] 11:09:59     INFO - GECKO(4588) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-06-28T11:09:59.239Z] 11:09:59     INFO - GECKO(4588) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-06-28T11:09:59.241Z] 11:09:59     INFO - GECKO(4588) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-06-28T11:09:59.243Z] 11:09:59     INFO - GECKO(4588) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-06-28T11:09:59.741Z] 11:09:59     INFO - GECKO(4588) | 1593342599730	Marionette	TRACE	Received observer notification xpcom-will-shutdown
[task 2020-06-28T11:09:59.741Z] 11:09:59     INFO - GECKO(4588) | 1593342599731	Marionette	INFO	Stopped listening on port 2828
[task 2020-06-28T11:09:59.741Z] 11:09:59     INFO - GECKO(4588) | 1593342599731	Marionette	DEBUG	Marionette stopped listening