Bug: Intermittent uriloader/exthandler/tests/mochitest/browser_auto_close_window_nodialog.js | Test timed out - | A promise chain failed to handle a rejection: NetworkError when attempting to fetch
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-01-18 18:51:34+00:00
Resolved: 2022-02-15 17:06:30+00:00

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

---
```
[task 2022-01-18T17:57:06.765Z] 17:57:06     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_auto_close_window_nodialog.js | tab was opened and closed - 
[task 2022-01-18T17:57:06.765Z] 17:57:06     INFO - Leaving test bound open_in_new_tab_no_opener
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - Entering test bound new_window
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - Console message: [JavaScript Error: "TypeError: NetworkError when attempting to fetch resource."]
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - Buffered messages finished
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_auto_close_window_nodialog.js | Test timed out - 
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_auto_close_window_nodialog.js | A promise chain failed to handle a rejection: NetworkError when attempting to fetch resource. - stack: (No stack available.)
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - Rejection date: Tue Jan 18 2022 17:56:23 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - Stack trace:
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2022-01-18T17:57:06.766Z] 17:57:06     INFO - GECKO(5082) | MEMORY STAT | vsize 402333MB | residentFast 360MB | heapAllocated 122MB
[task 2022-01-18T17:57:06.767Z] 17:57:06     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_auto_close_window_nodialog.js | took 45142ms
[task 2022-01-18T17:57:06.767Z] 17:57:06     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-18T17:57:06.767Z] 17:57:06     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_auto_close_window_nodialog.js | Found a tab after previous test timed out: https://example.com/browser/uriloader/exthandler/tests/mochitest/download_page.html - 
[task 2022-01-18T17:57:06.767Z] 17:57:06     INFO - checking window state
[task 2022-01-18T17:57:06.767Z] 17:57:06     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-18T17:57:06.767Z] 17:57:06     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_auto_close_window_nodialog.js | Found a browser window after previous test timed out - 
[task 2022-01-18T17:57:06.767Z] 17:57:06     INFO - GECKO(5082) | must wait for focus
[task 2022-01-18T17:57:06.767Z] 17:57:06     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_download_always_ask_preferred_app.js
```