Bug: Intermittent unknown test url | 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
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-02-01 22:48:34+00:00
Resolved: 2021-02-08 06:18:32+00:00

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

---
```
[task 2021-02-01T20:39:59.259Z] 20:39:59     INFO - TEST-START | browser/base/content/test/general/browser_save_video_frame.js
[task 2021-02-01T20:39:59.440Z] 20:39:59     INFO - GECKO(2360) | JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 131: Error: No DOM node set for aPlacesNode.
[task 2021-02-01T20:39:59.440Z] 20:39:59     INFO - GECKO(2360) | node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]
[task 2021-02-01T20:39:59.523Z] 20:39:59     INFO - GECKO(2360) | _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
[task 2021-02-01T20:39:59.757Z] 20:39:59     INFO - GECKO(2360) | MEMORY STAT | vsize 8562MB | residentFast 775MB | heapAllocated 203MB
[task 2021-02-01T20:39:59.757Z] 20:39:59     INFO - TEST-OK | browser/base/content/test/general/browser_save_video_frame.js | took 501ms
[task 2021-02-01T20:39:59.806Z] 20:39:59     INFO - checking window state
[task 2021-02-01T20:39:59.807Z] 20:39:59    ERROR - GECKO(2360) | TEST-UNEXPECTED-FAIL | unknown test url | 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 2021-02-01T20:39:59.807Z] 20:39:59     INFO - GECKO(2360) | MTFC_onStateChange@chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js:46:27
[task 2021-02-01T20:39:59.807Z] 20:39:59     INFO - GECKO(2360) | DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:136:22
[task 2021-02-01T20:39:59.807Z] 20:39:59     INFO - GECKO(2360) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/general/browser_save_video_frame.js, line 39: ReferenceError: ok is not defined
[task 2021-02-01T20:39:59.808Z] 20:39:59    ERROR - GECKO(2360) | TEST-UNEXPECTED-FAIL | unknown test url | 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:136:22
[task 2021-02-01T20:39:59.808Z] 20:39:59     INFO - GECKO(2360) | JavaScript error: chrome://global/content/contentAreaUtils.js, line 136: 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 2021-02-01T20:39:59.808Z] 20:39:59     INFO - TEST-START | browser/base/content/test/general/browser_search_discovery.js
[task 2021-02-01T20:39:59.839Z] 20:39:59     INFO - GECKO(2360) | JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 131: Error: No DOM node set for aPlacesNode.
[task 2021-02-01T20:39:59.839Z] 20:39:59     INFO - GECKO(2360) | node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]
[task 2021-02-01T20:40:15.051Z] 20:40:15     INFO - GECKO(2360) | MEMORY STAT | vsize 8551MB | residentFast 752MB | heapAllocated 145MB
[task 2021-02-01T20:40:15.051Z] 20:40:15     INFO - TEST-OK | browser/base/content/test/general/browser_search_discovery.js | took 15279ms
[task 2021-02-01T20:40:15.069Z] 20:40:15     INFO - checking window state```