Bug: High frequency browser/base/content/test/general/browser_bug767836_perwindowpb.js | A promise chain failed to handle a rejection: (Unable to convert rejection reason to string.) - stack: (No stack available.)
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-01-22 01:25:44+00:00
Resolved: 2020-12-19 02:08:55+00:00

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

---

[task 2020-01-21T23:23:12.326Z] 23:23:12     INFO - TEST-START | browser/base/content/test/general/browser_bug767836_perwindowpb.js
[task 2020-01-21T23:23:13.114Z] 23:23:13     INFO - GECKO(1908) | JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[task 2020-01-21T23:23:13.231Z] 23:23:13     INFO - GECKO(1908) | JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[task 2020-01-21T23:23:13.476Z] 23:23:13     INFO - GECKO(1908) | JavaScript error: , line 0: uncaught exception: undefined
[task 2020-01-21T23:23:13.476Z] 23:23:13     INFO - TEST-INFO | started process screentopng
[task 2020-01-21T23:23:13.890Z] 23:23:13     INFO - TEST-INFO | screentopng: exit 0
[task 2020-01-21T23:23:13.890Z] 23:23:13     INFO - Buffered messages logged at 23:23:12
[task 2020-01-21T23:23:13.890Z] 23:23:13     INFO - Entering test bound test_newTabService
[task 2020-01-21T23:23:13.890Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | No custom newtab url is set - 
[task 2020-01-21T23:23:13.890Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | URL of NewTab should be about:newtab in normal mode - 
[task 2020-01-21T23:23:13.890Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | Custom newtab url is set - 
[task 2020-01-21T23:23:13.891Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | URL of NewTab should be the custom url - 
[task 2020-01-21T23:23:13.891Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | No custom newtab url is set - 
[task 2020-01-21T23:23:13.891Z] 23:23:13     INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIControllers.removeController]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/elements/browser-custom-element.js :: destroy :: line 1374"  data: no]"]
[task 2020-01-21T23:23:13.891Z] 23:23:13     INFO - destroy@chrome://global/content/elements/browser-custom-element.js:1374:28
[task 2020-01-21T23:23:13.892Z] 23:23:13     INFO - disconnectedCallback@chrome://global/content/elements/browser-custom-element.js:408:12
[task 2020-01-21T23:23:13.892Z] 23:23:13     INFO - removePreloadedBrowser@resource:///modules/NewTabPagePreloading.jsm:200:41
[task 2020-01-21T23:23:13.892Z] 23:23:13     INFO - onUnload@chrome://browser/content/browser.js:2448:26
[task 2020-01-21T23:23:13.892Z] 23:23:13     INFO - 
[task 2020-01-21T23:23:13.898Z] 23:23:13     INFO - Buffered messages logged at 23:23:13
[task 2020-01-21T23:23:13.900Z] 23:23:13     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 66}]
[task 2020-01-21T23:23:13.900Z] 23:23:13     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 66}]
[task 2020-01-21T23:23:13.901Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | URL of NewTab should be about:privatebrowsing in per window private browsing mode - 
[task 2020-01-21T23:23:13.901Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | Custom newtab url is set - 
[task 2020-01-21T23:23:13.903Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | URL of NewTab should be the custom url - 
[task 2020-01-21T23:23:13.903Z] 23:23:13     INFO - TEST-PASS | browser/base/content/test/general/browser_bug767836_perwindowpb.js | No custom newtab url is set - 
[task 2020-01-21T23:23:13.903Z] 23:23:13     INFO - Buffered messages finished
[task 2020-01-21T23:23:13.904Z] 23:23:13     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_bug767836_perwindowpb.js | A promise chain failed to handle a rejection: (Unable to convert rejection reason to string.) - stack: (No stack available.)
[task 2020-01-21T23:23:13.904Z] 23:23:13     INFO - Rejection date: Tue Jan 21 2020 23:23:13 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-01-21T23:23:13.904Z] 23:23:13     INFO - Stack trace:
[task 2020-01-21T23:23:13.905Z] 23:23:13     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-01-21T23:23:13.905Z] 23:23:13     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1093
[task 2020-01-21T23:23:13.906Z] 23:23:13     INFO - Leaving test bound test_newTabService
[task 2020-01-21T23:23:13.906Z] 23:23:13     INFO - Console message: [JavaScript Error: "uncaught exception: undefined"]
[task 2020-01-21T23:23:13.906Z] 23:23:13     INFO - GECKO(1908) | MEMORY STAT | vsize 3346MB | residentFast 520MB | heapAllocated 266MB
[task 2020-01-21T23:23:13.907Z] 23:23:13     INFO - TEST-OK | browser/base/content/test/general/browser_bug767836_perwindowpb.js | took 1152ms
[task 2020-01-21T23:23:13.907Z] 23:23:13     INFO - checking window state
[task 2020-01-21T23:23:13.908Z] 23:23:13     INFO - GECKO(1908) | must wait for focus