Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | The option should be selected - | Test timed out - | Found a tab after previous test timed out: about:blank -
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-05-29 07:13:21+00:00
Resolved: 2020-08-26 04:06:07+00:00

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

---

```
[task 2020-05-29T06:01:56.302Z] 06:01:56     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js
[task 2020-05-29T06:01:57.743Z] 06:01:57     INFO - TEST-INFO | started process screenshot
[task 2020-05-29T06:01:57.813Z] 06:01:57     INFO - TEST-INFO | screenshot: exit 0
[task 2020-05-29T06:01:57.813Z] 06:01:57     INFO - Buffered messages logged at 06:01:56
[task 2020-05-29T06:01:57.813Z] 06:01:57     INFO - Entering test bound setup
[task 2020-05-29T06:01:57.813Z] 06:01:57     INFO - Leaving test bound setup
[task 2020-05-29T06:01:57.813Z] 06:01:57     INFO - Entering test bound test_check_open_with_internal_handler
[task 2020-05-29T06:01:57.813Z] 06:01:57     INFO - Testing with file_pdf_application_pdf.pdf
[task 2020-05-29T06:01:57.814Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | Should have seen the unknown content dialogWindow. - 
[task 2020-05-29T06:01:57.814Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | The option should be visible for PDF - 
[task 2020-05-29T06:01:57.814Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | The option should be selected - 
[task 2020-05-29T06:01:57.814Z] 06:01:57     INFO - waiting for new tab to open
[task 2020-05-29T06:01:57.814Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | pdf.js should be opened in an adjacent tab - 
[task 2020-05-29T06:01:57.814Z] 06:01:57     INFO - Buffered messages logged at 06:01:57
[task 2020-05-29T06:01:57.814Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | download should appear in publicDownloads list - 
[task 2020-05-29T06:01:57.815Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | Download button should be present in pdf.js - {} == true - 
[task 2020-05-29T06:01:57.815Z] 06:01:57     INFO - Waiting for unknown content type dialog to appear from pdf.js download button click
[task 2020-05-29T06:01:57.815Z] 06:01:57     INFO - Console message: [JavaScript Warning: "Use of nsIFile in content process is deprecated." {file: "resource://gre/modules/NetUtil.jsm" line: 253}]
[task 2020-05-29T06:01:57.815Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | The option should be hidden when the dialog is opened from pdf.js - 
[task 2020-05-29T06:01:57.815Z] 06:01:57     INFO - Accepting the dialog
[task 2020-05-29T06:01:57.815Z] 06:01:57     INFO - Waiting until DownloadIntegration.launchFile is called
[task 2020-05-29T06:01:57.815Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | The file should be launched with an external application - 
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - Testing with file_pdf_binary_octet_stream.pdf
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | Should have seen the unknown content dialogWindow. - 
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | The option should be visible for PDF - 
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - Buffered messages finished
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | The option should be selected - 
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - Stack trace:
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - chrome://mochikit/content/browser-test.js:test_ok:1299
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js:test_check_open_with_internal_handler:90
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1064
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1104
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:921
[task 2020-05-29T06:01:57.816Z] 06:01:57     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-05-29T06:01:57.817Z] 06:01:57     INFO - waiting for new tab to open
[task 2020-05-29T06:02:41.312Z] 06:02:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-05-29T06:02:41.312Z] 06:02:41     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | Test timed out - 
[task 2020-05-29T06:02:41.331Z] 06:02:41     INFO - GECKO(8044) | MEMORY STAT | vsize 2104226MB | vsizeMaxContiguous 64995890MB | residentFast 284MB | heapAllocated 84MB
[task 2020-05-29T06:02:41.331Z] 06:02:41     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | took 45034ms
[task 2020-05-29T06:02:41.331Z] 06:02:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-05-29T06:02:41.331Z] 06:02:41     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | Found a tab after previous test timed out: about:blank - 
[task 2020-05-29T06:02:41.336Z] 06:02:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-05-29T06:02:41.336Z] 06:02:41     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js | Found a tab after previous test timed out: about:blank - 
[task 2020-05-29T06:02:41.356Z] 06:02:41     INFO - checking window state
[task 2020-05-29T06:02:41.375Z] 06:02:41     INFO - GECKO(8044) | Completed ShutdownLeaks collections in process 3440
[task 2020-05-29T06:02:41.375Z] 06:02:41     INFO - TEST-START | Shutdown
```