Closed Bug 1679633 Opened 4 years ago Closed 4 years ago

Intermittent browser/base/content/test/general/browser_search_discovery.js | uncaught exception - ReferenceError: ok is not defined at mockTransferCallback@chrome:///...content/browser/browser/base/content/test/general/browser_save_video_frame.js:39:7

Categories

(Firefox :: General, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1673742
Tracking Status
firefox-esr78 --- unaffected
firefox83 --- unaffected
firefox84 --- unaffected
firefox85 --- fix-optional

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

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


INFO - TEST-START | browser/base/content/test/general/browser_search_discovery.js
[task 2020-11-28T15:11:19.203Z] 15:11:19 INFO - TEST-INFO | started process screencapture
[task 2020-11-28T15:11:19.300Z] 15:11:19 INFO - TEST-INFO | screencapture: exit 0
[task 2020-11-28T15:11:19.300Z] 15:11:19 INFO - Buffered messages logged at 15:11:19
[task 2020-11-28T15:11:19.300Z] 15:11:19 INFO - Entering test bound
[task 2020-11-28T15:11:19.300Z] 15:11:19 INFO - Test search discovery
[task 2020-11-28T15:11:19.300Z] 15:11:19 INFO - Buffered messages finished
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_search_discovery.js | uncaught exception - ReferenceError: ok is not defined at mockTransferCallback@chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js:39:7
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO - MTFC_onStateChange@chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js:46:27
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO - DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:135:22
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO -
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO - Stack trace:
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2112
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO - chrome://global/content/contentAreaUtils.js:DownloadListener/makeClosure/<:135
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO - GECKO(1398) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js, line 39: ReferenceError: ok is not defined
[task 2020-11-28T15:11:19.301Z] 15:11:19 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_search_discovery.js | uncaught exception - NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]'[JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]' when calling method: [nsITransfer::onStateChange] at DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:135:22
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO -
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - Stack trace:
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2112
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - GECKO(1398) | JavaScript error: chrome://global/content/contentAreaUtils.js, line 135: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]'[JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]' when calling method: [nsITransfer::onStateChange]
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - Console message: [JavaScript Error: "ReferenceError: ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - mockTransferCallback@chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js:39:7
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - MTFC_onStateChange@chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js:46:27
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:135:22
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO -
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - Console message: [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]'[JavaScript Error: "ok is not defined" {file: "chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js" line: 39}]' when calling method: [nsITransfer::onStateChange]" {file: "chrome://global/content/contentAreaUtils.js" line: 135}]
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO - DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:135:22
[task 2020-11-28T15:11:19.302Z] 15:11:19 INFO -
[task 2020-11-28T15:11:19.333Z] 15:11:19 INFO - GECKO(1398) | JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 131: Error: No DOM node set for aPlacesNode.
[task 2020-11-28T15:11:19.333Z] 15:11:19 INFO - GECKO(1398) | node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]
[task 2020-11-28T15:11:19.335Z] 15:11:19 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/browser/base/content/test/general/discovery.html" line: 0}]
[task 2020-11-28T15:11:19.336Z] 15:11:19 INFO - Console message: [JavaScript Error: "Error: No DOM node set for aPlacesNode.
[task 2020-11-28T15:11:19.336Z] 15:11:19 INFO - node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]" {file: "chrome://browser/content/places/browserPlacesViews.js" line: 131}]
[task 2020-11-28T15:11:19.336Z] 15:11:19 INFO - PVB__getDOMNodeForPlacesNode@chrome://browser/content/places/browserPlacesViews.js:131:13
[task 2020-11-28T15:11:19.336Z] 15:11:19 INFO - PVB_nodeTitleChanged@chrome://browser/content/places/browserPlacesViews.js:530:20
[task 2020-11-28T15:11:19.336Z] 15:11:19 INFO -
[task 2020-11-28T15:11:19.948Z] 15:11:19 INFO - Console message: [JavaScript Warning: "Cannot play media. No decoders for requested formats: application/ogg" {file: "http://mochi.test:8888/browser/browser/base/content/test/general/web_video.html" line: 0}]
[task 2020-11-28T15:11:20.718Z] 15:11:20 INFO - Found 1 engines
[task 2020-11-28T15:11:20.718Z] 15:11:20 INFO - First engine title: 0
[task 2020-11-28T15:11:20.718Z] 15:11:20 INFO - TEST-PASS | browser/base/content/test/general/browser_search_discovery.js | rel search discovered -

Tim: Can you please take a look at this bug?

I think it could be a regression on Bug 1662062 after it landed here:
https://hg.mozilla.org/integration/autoland/rev/194ca0c692cd02eb8b3a0387f5d3b999132bf9ae

Flags: needinfo?(tnikkel)
Regressed by: 1662062
No longer regressed by: 166062

Hmm, that seems very odd. Do you just want to back out my patch and see if it goes away or still happens?

Flags: needinfo?(tnikkel) → needinfo?(dluca)
Flags: needinfo?(dluca)
No longer regressed by: 1662062
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.