Bug: Intermittent browser/base/content/test/general/browser_save_private_link_perwindowpb.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-09-07 17:16:21+00:00
Resolved: 2024-02-28 12:01:18+00:00

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

---
```
[task 2022-09-07T15:20:03.631Z] 15:20:03     INFO - TEST-START | browser/base/content/test/general/browser_save_private_link_perwindowpb.js
[task 2022-09-07T15:20:03.765Z] 15:20:03     INFO - GECKO(1599) | 1662564003764	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-09-07T15:20:03.832Z] 15:20:03     INFO - GECKO(1599) | JavaScript error: resource://gre/modules/XULStore.jsm, line 58: Error: Can't find profile directory.
[task 2022-09-07T15:20:04.436Z] 15:20:04     INFO - TEST-INFO | started process screencapture
[task 2022-09-07T15:20:05.204Z] 15:20:05     INFO - TEST-INFO | screencapture: exit 0
[task 2022-09-07T15:20:05.205Z] 15:20:05     INFO - Buffered messages logged at 15:20:03
[task 2022-09-07T15:20:05.205Z] 15:20:05     INFO - Entering test bound 
[task 2022-09-07T15:20:05.206Z] 15:20:05     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 58}]
[task 2022-09-07T15:20:05.206Z] 15:20:05     INFO - load@resource://gre/modules/XULStore.jsm:58:15
[task 2022-09-07T15:20:05.206Z] 15:20:05     INFO - XULStore@resource://gre/modules/XULStore.jsm:17:10
[task 2022-09-07T15:20:05.206Z] 15:20:05     INFO - 
[task 2022-09-07T15:20:05.206Z] 15:20:05     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://mochi.test:8888/browser/browser/base/content/test/general/bug792517.html" line: 0}]
[task 2022-09-07T15:20:05.206Z] 15:20:05     INFO - Buffered messages logged at 15:20:04
[task 2022-09-07T15:20:05.207Z] 15:20:05     INFO - TEST-PASS | browser/base/content/test/general/browser_save_private_link_perwindowpb.js | Image file should have been downloaded successfully moz.png - 
[task 2022-09-07T15:20:05.207Z] 15:20:05     INFO - disk storage contains 0 entries
[task 2022-09-07T15:20:05.207Z] 15:20:05     INFO - Leaving test bound 
[task 2022-09-07T15:20:05.208Z] 15:20:05     INFO - Buffered messages finished
[task 2022-09-07T15:20:05.208Z] 15:20:05     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_save_private_link_perwindowpb.js | uncaught exception - TypeError: mockTransferCallback is not a function at MTFC_onStateChange@chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js:46:27
[task 2022-09-07T15:20:05.208Z] 15:20:05     INFO - DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:153:22
[task 2022-09-07T15:20:05.208Z] 15:20:05     INFO - 
[task 2022-09-07T15:20:05.208Z] 15:20:05     INFO - Stack trace:
[task 2022-09-07T15:20:05.208Z] 15:20:05     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1965
[task 2022-09-07T15:20:05.209Z] 15:20:05     INFO - chrome://global/content/contentAreaUtils.js:DownloadListener/makeClosure/<:153
[task 2022-09-07T15:20:05.209Z] 15:20:05     INFO - GECKO(1599) | JavaScript error: chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js, line 46: TypeError: mockTransferCallback is not a function
[task 2022-09-07T15:20:05.209Z] 15:20:05     INFO - GECKO(1599) | JavaScript error: chrome://global/content/contentAreaUtils.js, line 153: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "mockTransferCallback is not a function" {file: "chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js" line: 46}]'[JavaScript Error: "mockTransferCallback is not a function" {file: "chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js" line: 46}]' when calling method: [nsITransfer::onStateChange]
[task 2022-09-07T15:20:05.210Z] 15:20:05     INFO - Console message: [JavaScript Error: "TypeError: mockTransferCallback is not a function" {file: "chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js" line: 46}]
[task 2022-09-07T15:20:05.210Z] 15:20:05     INFO - MTFC_onStateChange@chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js:46:27
[task 2022-09-07T15:20:05.210Z] 15:20:05     INFO - DownloadListener/makeClosure/<@chrome://global/content/contentAreaUtils.js:153:22
[task 2022-09-07T15:20:05.210Z] 15:20:05     INFO - 
[task 2022-09-07T15:20:05.211Z] 15:20:05     INFO - Console message: [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "mockTransferCallback is not a function" {file: "chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js" line: 46}]'[JavaScript Error: "mockTransferCallback is not a function" {file: "chrome://mochitests/content/browser/toolkit/content/tests/browser/common/mockTransfer.js" line: 46}]' when calling method: [nsITransfer::onStateChange]" {file: "chrome://global/content/contentAreaUtils.js" line: 153}]
[task 2022-09-07T15:20:05.211Z] 15:20:05     INFO - GECKO(1599) | MEMORY STAT | vsize 24911MB | residentFast 596MB | heapAllocated 185MB
[task 2022-09-07T15:20:05.211Z] 15:20:05     INFO - TEST-OK | browser/base/content/test/general/browser_save_private_link_perwindowpb.js | took 989ms
[task 2022-09-07T15:20:05.212Z] 15:20:05     INFO - checking window state
[task 2022-09-07T15:20:05.212Z] 15:20:05     INFO - TEST-START | browser/base/content/test/general/browser_save_video_frame.js
```