Closed Bug 1742944 Opened 3 years ago Closed 3 years ago

Intermittent uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Uncaught exception - at chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_extension_correction.js:37 - TypeError: can't access property "ap

Categories

(Firefox :: File Handling, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2021-11-25T09:51:29.632Z] 09:51:29     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_extension_correction.js
[task 2021-11-25T09:51:30.091Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: A new download data item was added
[task 2021-11-25T09:51:30.093Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Adding a new DownloadsViewItem to the downloads list. aNewest = true
[task 2021-11-25T09:51:30.099Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: The downloads item count has changed - we are tracking 1 downloads in total.
[task 2021-11-25T09:51:30.101Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Setting the panel's hasdownloads attribute to true.
[task 2021-11-25T09:51:30.122Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Attempting to notify that a new download has started or finished.
[task 2021-11-25T09:51:30.124Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Opening the downloads panel.
[task 2021-11-25T09:51:30.127Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Attempting to initialize DownloadsPanel for a window.
[task 2021-11-25T09:51:30.128Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: DownloadsPanel is already initialized.
[task 2021-11-25T09:51:30.130Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Waiting for the downloads panel to appear.
[task 2021-11-25T09:51:30.155Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Opening downloads panel popup.
[task 2021-11-25T09:51:30.184Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Attempting to notify that a new download has started or finished.
[task 2021-11-25T09:51:30.184Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Showing new download notification.
[task 2021-11-25T09:51:30.188Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: _updateStateInner, target exists?  /tmp/testsavedir3625985393/somefile.png true
[task 2021-11-25T09:51:30.198Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Closing the downloads panel.
[task 2021-11-25T09:51:30.204Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Downloads panel has hidden.
[task 2021-11-25T09:51:30.207Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: Downloads panel is now closed.
[task 2021-11-25T09:51:30.208Z] 09:51:30     INFO - GECKO(1578) | console.log: Downloads: A download data item was removed.
<...>
[task 2021-11-25T09:51:32.176Z] 09:51:32     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should match somefile.png - 
[task 2021-11-25T09:51:32.177Z] 09:51:32     INFO - Checking audio/ogg
[task 2021-11-25T09:51:32.177Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.177Z] 09:51:32     INFO - Download succeeded or errored
[task 2021-11-25T09:51:32.182Z] 09:51:32     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should match somefile.oga - 
[task 2021-11-25T09:51:32.182Z] 09:51:32     INFO - Checking video/webm
[task 2021-11-25T09:51:32.182Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.182Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.183Z] 09:51:32     INFO - Download succeeded or errored
[task 2021-11-25T09:51:32.188Z] 09:51:32     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should match somefile.webm - 
[task 2021-11-25T09:51:32.192Z] 09:51:32     INFO - Checking application/pdf
[task 2021-11-25T09:51:32.192Z] 09:51:32     INFO - Buffered messages logged at 09:51:31
[task 2021-11-25T09:51:32.194Z] 09:51:32     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | url is correct for application/pdf - 
[task 2021-11-25T09:51:32.194Z] 09:51:32     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2021-11-25T09:51:32.196Z] 09:51:32     INFO - Checking application/x-gobbledygook
[task 2021-11-25T09:51:32.196Z] 09:51:32     INFO - Buffered messages finished
[task 2021-11-25T09:51:32.199Z] 09:51:32     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Uncaught exception - at chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_extension_correction.js:37 - TypeError: can't access property "appendChild", content.document.body is null
[task 2021-11-25T09:51:32.200Z] 09:51:32     INFO - Stack trace:
[task 2021-11-25T09:51:32.200Z] 09:51:32     INFO - @chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_extension_correction.js:37:7
[task 2021-11-25T09:51:32.200Z] 09:51:32     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-11-25T09:51:32.201Z] 09:51:32     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1656:15
[task 2021-11-25T09:51:32.201Z] 09:51:32     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2021-11-25T09:51:32.204Z] 09:51:32     INFO - Leaving test bound test_enforce_useful_extension
[task 2021-11-25T09:51:32.208Z] 09:51:32     INFO - Entering test bound test_broken_saved_handlerinfo_and_useless_mimetypes
[task 2021-11-25T09:51:32.210Z] 09:51:32     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 2021-11-25T09:51:32.213Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: A new download data item was added
[task 2021-11-25T09:51:32.223Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Adding a new DownloadsViewItem to the downloads list. aNewest = true
[task 2021-11-25T09:51:32.224Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: The downloads item count has changed - we are tracking 1 downloads in total.
[task 2021-11-25T09:51:32.225Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Setting the panel's hasdownloads attribute to true.
[task 2021-11-25T09:51:32.226Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Attempting to notify that a new download has started or finished.
[task 2021-11-25T09:51:32.228Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Opening the downloads panel.
[task 2021-11-25T09:51:32.229Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Attempting to initialize DownloadsPanel for a window.
[task 2021-11-25T09:51:32.230Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: DownloadsPanel is already initialized.
[task 2021-11-25T09:51:32.230Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Waiting for the downloads panel to appear.
[task 2021-11-25T09:51:32.231Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.231Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.234Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.241Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Opening downloads panel popup.
[task 2021-11-25T09:51:32.363Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Downloads panel has shown.
[task 2021-11-25T09:51:32.395Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Attempting to notify that a new download has started or finished.
[task 2021-11-25T09:51:32.397Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Showing new download notification.
[task 2021-11-25T09:51:32.401Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: _updateStateInner, target exists?  /tmp/testsavedir3625985393/file_as.exe true
[task 2021-11-25T09:51:32.411Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.412Z] 09:51:32     INFO - Download succeeded or errored
[task 2021-11-25T09:51:32.412Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.412Z] 09:51:32     INFO - Download succeeded or errored
[task 2021-11-25T09:51:32.413Z] 09:51:32     INFO - Download changed!
[task 2021-11-25T09:51:32.413Z] 09:51:32     INFO - Download succeeded or errored
[task 2021-11-25T09:51:32.415Z] 09:51:32     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Downloaded file should match file_as.exe - 
[task 2021-11-25T09:51:32.418Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Closing the downloads panel.
[task 2021-11-25T09:51:32.424Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Downloads panel has hidden.
[task 2021-11-25T09:51:32.426Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Downloads panel is now closed.
[task 2021-11-25T09:51:32.427Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: A download data item was removed.
[task 2021-11-25T09:51:32.428Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Removing a DownloadsViewItem from the downloads list.
[task 2021-11-25T09:51:32.430Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: The downloads item count has changed - we are tracking 0 downloads in total.
[task 2021-11-25T09:51:32.430Z] 09:51:32     INFO - GECKO(1578) | console.log: Downloads: Removing the panel's hasdownloads attribute.
[task 2021-11-25T09:51:32.509Z] 09:51:32     INFO - Leaving test bound test_broken_saved_handlerinfo_and_useless_mimetypes
[task 2021-11-25T09:51:32.546Z] 09:51:32     INFO - GECKO(1578) | MEMORY STAT | vsize 20983775MB | residentFast 1362MB
[task 2021-11-25T09:51:32.548Z] 09:51:32     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | took 2915ms
[task 2021-11-25T09:51:32.550Z] 09:51:32     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-11-25T09:51:32.550Z] 09:51:32     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_extension_correction.js | Found an unexpected tab at the end of test run: data:text/html, - 
[task 2021-11-25T09:51:32.688Z] 09:51:32     INFO - checking window state
[task 2021-11-25T09:51:32.800Z] 09:51:32     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_first_prompt_not_blocked_without_user_interaction.js
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.