Closed Bug 1711130 Opened 4 years ago Closed 4 years ago

Intermittent toolkit/components/printing/tests/browser_modal_print.js | A promise chain failed to handle a rejection: aBrowsingContext.top.embedderElement is null - stack: _createPreviewBrowser@chrome://global/content/printUtils.js:153:1

Categories

(Toolkit :: Printing, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2021-05-13T18:59:48.938Z] 18:59:48     INFO - TEST-START | toolkit/components/printing/tests/browser_modal_print.js
[task 2021-05-13T18:59:50.060Z] 18:59:50     INFO - GECKO(4288) | JavaScript error: chrome://global/content/printUtils.js, line 153: TypeError: aBrowsingContext.top.embedderElement is null
[task 2021-05-13T18:59:50.060Z] 18:59:50     INFO - GECKO(4288) | JavaScript error: chrome://global/content/printUtils.js, line 153: TypeError: aBrowsingContext.top.embedderElement is null
[task 2021-05-13T18:59:50.060Z] 18:59:50     INFO - GECKO(4288) | JavaScript error: chrome://global/content/printUtils.js, line 153: TypeError: aBrowsingContext.top.embedderElement is null
[task 2021-05-13T18:59:50.321Z] 18:59:50     INFO - TEST-INFO | started process screenshot
[task 2021-05-13T18:59:50.392Z] 18:59:50     INFO - TEST-INFO | screenshot: exit 0
[task 2021-05-13T18:59:50.393Z] 18:59:50     INFO - Buffered messages logged at 18:59:48
[task 2021-05-13T18:59:50.393Z] 18:59:50     INFO - Entering test bound testModalPrintDialog
[task 2021-05-13T18:59:50.393Z] 18:59:50     INFO - withTestPage: http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-05-13T18:59:50.394Z] 18:59:50     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://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html" line: 0}]
[task 2021-05-13T18:59:50.394Z] 18:59:50     INFO - Buffered messages logged at 18:59:49
[task 2021-05-13T18:59:50.395Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs - 
[task 2021-05-13T18:59:50.395Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog - 
[task 2021-05-13T18:59:50.395Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible - 
[task 2021-05-13T18:59:50.396Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The URL of the browser is the one we expect - 
[task 2021-05-13T18:59:50.396Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs - 
[task 2021-05-13T18:59:50.396Z] 18:59:50     INFO - Leaving test bound testModalPrintDialog
[task 2021-05-13T18:59:50.397Z] 18:59:50     INFO - Entering test bound testPrintMultiple
[task 2021-05-13T18:59:50.397Z] 18:59:50     INFO - withTestPage: http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-05-13T18:59:50.397Z] 18:59:50     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://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html" line: 0}]
[task 2021-05-13T18:59:50.397Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs - 
[task 2021-05-13T18:59:50.398Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog - 
[task 2021-05-13T18:59:50.399Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible - 
[task 2021-05-13T18:59:50.399Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The URL of the browser is the one we expect - 
[task 2021-05-13T18:59:50.400Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog - 
[task 2021-05-13T18:59:50.400Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible - 
[task 2021-05-13T18:59:50.400Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog - 
[task 2021-05-13T18:59:50.400Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible - 
[task 2021-05-13T18:59:50.401Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog - 
[task 2021-05-13T18:59:50.401Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible - 
[task 2021-05-13T18:59:50.402Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The URL of the browser is the one we expect - 
[task 2021-05-13T18:59:50.402Z] 18:59:50     INFO - Leaving test bound testPrintMultiple
[task 2021-05-13T18:59:50.402Z] 18:59:50     INFO - Entering test bound testCancelButton
[task 2021-05-13T18:59:50.402Z] 18:59:50     INFO - withTestPage: http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-05-13T18:59:50.403Z] 18:59:50     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://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html" line: 0}]
[task 2021-05-13T18:59:50.403Z] 18:59:50     INFO - Buffered messages logged at 18:59:50
[task 2021-05-13T18:59:50.403Z] 18:59:50     INFO - Console message: [JavaScript Error: "TypeError: aBrowsingContext.top.embedderElement is null" {file: "chrome://global/content/printUtils.js" line: 153}]
[task 2021-05-13T18:59:50.403Z] 18:59:50     INFO - Console message: [JavaScript Error: "TypeError: aBrowsingContext.top.embedderElement is null" {file: "chrome://global/content/printUtils.js" line: 153}]
[task 2021-05-13T18:59:50.403Z] 18:59:50     INFO - Console message: [JavaScript Error: "TypeError: aBrowsingContext.top.embedderElement is null" {file: "chrome://global/content/printUtils.js" line: 153}]
[task 2021-05-13T18:59:50.403Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs - 
[task 2021-05-13T18:59:50.403Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog - 
[task 2021-05-13T18:59:50.404Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible - 
[task 2021-05-13T18:59:50.404Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | Got the cancel button - 
[task 2021-05-13T18:59:50.404Z] 18:59:50     INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs - 
[task 2021-05-13T18:59:50.404Z] 18:59:50     INFO - Buffered messages finished
[task 2021-05-13T18:59:50.404Z] 18:59:50     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | A promise chain failed to handle a rejection: aBrowsingContext.top.embedderElement is null - stack: _createPreviewBrowser@chrome://global/content/printUtils.js:153:1
[task 2021-05-13T18:59:50.404Z] 18:59:50     INFO - createPreviewBrowsers@chrome://global/content/printUtils.js:189:47
[task 2021-05-13T18:59:50.405Z] 18:59:50     INFO - init@chrome://global/content/print.js:173:20
[task 2021-05-13T18:59:50.405Z] 18:59:50     INFO - @chrome://global/content/print.js:92:45
[task 2021-05-13T18:59:50.405Z] 18:59:50     INFO - Rejection date: Thu May 13 2021 18:59:50 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-05-13T18:59:50.405Z] 18:59:50     INFO - Stack trace:
[task 2021-05-13T18:59:50.405Z] 18:59:50     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-05-13T18:59:50.405Z] 18:59:50     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1120
[task 2021-05-13T18:59:50.405Z] 18:59:50     INFO - Not taking screenshot here: see the one that was previously logged```
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.