Intermittent toolkit/components/printing/tests/browser_modal_print.js | A promise chain failed to handle a rejection: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null - stack: _createPreviewBrowser@/printUtils.js:173:1
Categories
(Toolkit :: Printing, defect, P5)
Tracking
()
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell unknown])
Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=334350568&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/eDEit7tMT6OB4YllANc20A/runs/0/artifacts/public/logs/live_backing.log
[task 2021-03-24T22:57:40.925Z] 22:57:40 INFO - TEST-START | toolkit/components/printing/tests/browser_modal_print.js
[task 2021-03-24T22:57:41.324Z] 22:57:41 INFO - GECKO(6237) | [Parent 6237, Main Thread] WARNING: g_object_ref: assertion 'G_IS_OBJECT (object)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:135
[task 2021-03-24T22:57:41.324Z] 22:57:41 INFO - GECKO(6237) | (firefox:6237): GLib-GObject-CRITICAL **: 22:57:41.312: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
[task 2021-03-24T22:57:41.794Z] 22:57:41 INFO - GECKO(6237) | [Parent 6237, Main Thread] WARNING: g_object_ref: assertion 'G_IS_OBJECT (object)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:135
[task 2021-03-24T22:57:41.794Z] 22:57:41 INFO - GECKO(6237) | (firefox:6237): GLib-GObject-CRITICAL **: 22:57:41.790: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
[task 2021-03-24T22:57:42.158Z] 22:57:42 INFO - GECKO(6237) | JavaScript error: chrome://global/content/printUtils.js, line 153: TypeError: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null
[task 2021-03-24T22:57:42.159Z] 22:57:42 INFO - GECKO(6237) | JavaScript error: chrome://global/content/printUtils.js, line 153: TypeError: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null
[task 2021-03-24T22:57:42.159Z] 22:57:42 INFO - GECKO(6237) | JavaScript error: chrome://global/content/printUtils.js, line 153: TypeError: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null
[task 2021-03-24T22:57:42.295Z] 22:57:42 INFO - GECKO(6237) | [Parent 6237, Main Thread] WARNING: g_object_ref: assertion 'G_IS_OBJECT (object)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:135
[task 2021-03-24T22:57:42.295Z] 22:57:42 INFO - GECKO(6237) | (firefox:6237): GLib-GObject-CRITICAL **: 22:57:42.283: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
[task 2021-03-24T22:57:42.396Z] 22:57:42 INFO - TEST-INFO | started process screentopng
[task 2021-03-24T22:57:42.686Z] 22:57:42 INFO - TEST-INFO | screentopng: exit 0
[task 2021-03-24T22:57:42.687Z] 22:57:42 INFO - Buffered messages logged at 22:57:40
[task 2021-03-24T22:57:42.688Z] 22:57:42 INFO - Entering test bound testModalPrintDialog
[task 2021-03-24T22:57:42.693Z] 22:57:42 INFO - withTestPage: http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-03-24T22:57:42.694Z] 22:57:42 INFO - Buffered messages logged at 22:57:41
[task 2021-03-24T22:57:42.694Z] 22:57:42 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-03-24T22:57:42.694Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs -
[task 2021-03-24T22:57:42.695Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog -
[task 2021-03-24T22:57:42.695Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible -
[task 2021-03-24T22:57:42.696Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The URL of the browser is the one we expect -
[task 2021-03-24T22:57:42.696Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs -
[task 2021-03-24T22:57:42.697Z] 22:57:42 INFO - Leaving test bound testModalPrintDialog
[task 2021-03-24T22:57:42.697Z] 22:57:42 INFO - Entering test bound testPrintMultiple
[task 2021-03-24T22:57:42.697Z] 22:57:42 INFO - withTestPage: http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-03-24T22:57:42.698Z] 22:57:42 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-03-24T22:57:42.698Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs -
[task 2021-03-24T22:57:42.699Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog -
[task 2021-03-24T22:57:42.699Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible -
[task 2021-03-24T22:57:42.699Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The URL of the browser is the one we expect -
[task 2021-03-24T22:57:42.700Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog -
[task 2021-03-24T22:57:42.700Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible -
[task 2021-03-24T22:57:42.701Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog -
[task 2021-03-24T22:57:42.702Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible -
[task 2021-03-24T22:57:42.702Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog -
[task 2021-03-24T22:57:42.703Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible -
[task 2021-03-24T22:57:42.704Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The URL of the browser is the one we expect -
[task 2021-03-24T22:57:42.704Z] 22:57:42 INFO - Leaving test bound testPrintMultiple
[task 2021-03-24T22:57:42.706Z] 22:57:42 INFO - Entering test bound testCancelButton
[task 2021-03-24T22:57:42.706Z] 22:57:42 INFO - withTestPage: http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-03-24T22:57:42.706Z] 22:57:42 INFO - Buffered messages logged at 22:57:42
[task 2021-03-24T22:57:42.707Z] 22:57:42 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-03-24T22:57:42.707Z] 22:57:42 INFO - Console message: [JavaScript Error: "TypeError: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null" {file: "chrome://global/content/printUtils.js" line: 153}]
[task 2021-03-24T22:57:42.714Z] 22:57:42 INFO - Console message: [JavaScript Error: "TypeError: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null" {file: "chrome://global/content/printUtils.js" line: 153}]
[task 2021-03-24T22:57:42.714Z] 22:57:42 INFO - Console message: [JavaScript Error: "TypeError: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null" {file: "chrome://global/content/printUtils.js" line: 153}]
[task 2021-03-24T22:57:42.715Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs -
[task 2021-03-24T22:57:42.715Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog -
[task 2021-03-24T22:57:42.715Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | The dialog is visible -
[task 2021-03-24T22:57:42.716Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | Got the cancel button -
[task 2021-03-24T22:57:42.716Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs -
[task 2021-03-24T22:57:42.716Z] 22:57:42 INFO - Buffered messages finished
[task 2021-03-24T22:57:42.717Z] 22:57:42 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | A promise chain failed to handle a rejection: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null - stack: _createPreviewBrowser@chrome://global/content/printUtils.js:153:1
[task 2021-03-24T22:57:42.717Z] 22:57:42 INFO - createPreviewBrowsers@chrome://global/content/printUtils.js:189:47
[task 2021-03-24T22:57:42.717Z] 22:57:42 INFO - init@chrome://global/content/print.js:169:20
[task 2021-03-24T22:57:42.717Z] 22:57:42 INFO - @chrome://global/content/print.js:92:45
[task 2021-03-24T22:57:42.718Z] 22:57:42 INFO - Rejection date: Wed Mar 24 2021 22:57:42 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-03-24T22:57:42.718Z] 22:57:42 INFO - Stack trace:
[task 2021-03-24T22:57:42.718Z] 22:57:42 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-03-24T22:57:42.718Z] 22:57:42 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1120
[task 2021-03-24T22:57:42.719Z] 22:57:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-03-24T22:57:42.719Z] 22:57:42 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | A promise chain failed to handle a rejection: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null - stack: _createPreviewBrowser@chrome://global/content/printUtils.js:153:1
[task 2021-03-24T22:57:42.719Z] 22:57:42 INFO - createPreviewBrowsers@chrome://global/content/printUtils.js:189:47
[task 2021-03-24T22:57:42.719Z] 22:57:42 INFO - init@chrome://global/content/print.js:169:20
[task 2021-03-24T22:57:42.720Z] 22:57:42 INFO - @chrome://global/content/print.js:92:45
[task 2021-03-24T22:57:42.720Z] 22:57:42 INFO - Rejection date: Wed Mar 24 2021 22:57:42 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-03-24T22:57:42.720Z] 22:57:42 INFO - Stack trace:
[task 2021-03-24T22:57:42.720Z] 22:57:42 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-03-24T22:57:42.720Z] 22:57:42 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1120
[task 2021-03-24T22:57:42.721Z] 22:57:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-03-24T22:57:42.721Z] 22:57:42 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | A promise chain failed to handle a rejection: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null - stack: _createPreviewBrowser@chrome://global/content/printUtils.js:153:1
[task 2021-03-24T22:57:42.721Z] 22:57:42 INFO - createPreviewBrowsers@chrome://global/content/printUtils.js:189:47
[task 2021-03-24T22:57:42.721Z] 22:57:42 INFO - init@chrome://global/content/print.js:169:20
[task 2021-03-24T22:57:42.721Z] 22:57:42 INFO - @chrome://global/content/print.js:92:45
[task 2021-03-24T22:57:42.722Z] 22:57:42 INFO - Rejection date: Wed Mar 24 2021 22:57:42 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-03-24T22:57:42.722Z] 22:57:42 INFO - Stack trace:
[task 2021-03-24T22:57:42.722Z] 22:57:42 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-03-24T22:57:42.722Z] 22:57:42 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1120
[task 2021-03-24T22:57:42.722Z] 22:57:42 INFO - Leaving test bound testCancelButton
[task 2021-03-24T22:57:42.723Z] 22:57:42 INFO - Entering test bound testTabOrder
[task 2021-03-24T22:57:42.723Z] 22:57:42 INFO - withTestPage: http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-03-24T22:57:42.723Z] 22:57:42 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-03-24T22:57:42.724Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs -
[task 2021-03-24T22:57:42.780Z] 22:57:42 INFO - GECKO(6237) | [Parent 6237, Main Thread] WARNING: g_object_ref: assertion 'G_IS_OBJECT (object)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:135
[task 2021-03-24T22:57:42.780Z] 22:57:42 INFO - GECKO(6237) | (firefox:6237): GLib-GObject-CRITICAL **: 22:57:42.774: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
[task 2021-03-24T22:57:42.817Z] 22:57:42 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There is one print dialog -
<...>
[task 2021-03-24T22:57:46.329Z] 22:57:46 INFO - TEST-OK | toolkit/components/printing/tests/browser_modal_print.js | took 5394ms
[task 2021-03-24T22:57:46.346Z] 22:57:46 ERROR - GECKO(6237) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - TypeError: can't access property "frameLoader", this.previewBrowser is null at unload@chrome://global/content/print.js:360:5
[task 2021-03-24T22:57:46.346Z] 22:57:46 INFO - GECKO(6237) | @chrome://global/content/print.js:101:21
[task 2021-03-24T22:57:46.347Z] 22:57:46 INFO - GECKO(6237) | _onContentLoaded/this._frame.contentWindow.close@resource://gre/modules/SubDialog.jsm:378:35
[task 2021-03-24T22:57:46.348Z] 22:57:46 INFO - GECKO(6237) | abort@resource://gre/modules/SubDialog.jsm:199:31
[task 2021-03-24T22:57:46.348Z] 22:57:46 INFO - GECKO(6237) | abortDialogs/<@resource://gre/modules/SubDialog.jsm:978:61
[task 2021-03-24T22:57:46.349Z] 22:57:46 INFO - GECKO(6237) | abortDialogs@resource://gre/modules/SubDialog.jsm:978:36
[task 2021-03-24T22:57:46.349Z] 22:57:46 INFO - GECKO(6237) | abortAllDialogs@chrome://browser/content/browser.js:9141:28
[task 2021-03-24T22:57:46.350Z] 22:57:46 INFO - GECKO(6237) | handleEvent@chrome://browser/content/browser.js:9137:10
[task 2021-03-24T22:57:46.350Z] 22:57:46 INFO - GECKO(6237) | _beginRemoveTab@chrome://browser/content/tabbrowser.js:3790:12
[task 2021-03-24T22:57:46.351Z] 22:57:46 INFO - GECKO(6237) | removeTab@chrome://browser/content/tabbrowser.js:3563:15
[task 2021-03-24T22:57:46.352Z] 22:57:46 INFO - GECKO(6237) | Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:432:16
[task 2021-03-24T22:57:46.353Z] 22:57:46 INFO - GECKO(6237) | nextTest@chrome://mochikit/content/browser-test.js:836:10
[task 2021-03-24T22:57:46.354Z] 22:57:46 INFO - GECKO(6237) | JavaScript error: chrome://global/content/print.js, line 360: TypeError: can't access property "frameLoader", this.previewBrowser is null
[task 2021-03-24T22:57:46.354Z] 22:57:46 ERROR - GECKO(6237) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - TypeError: can't access property "frameLoader", this.previewBrowser is null at unload@chrome://global/content/print.js:360:5
[task 2021-03-24T22:57:46.355Z] 22:57:46 INFO - GECKO(6237) | @chrome://global/content/print.js:101:21
[task 2021-03-24T22:57:46.356Z] 22:57:46 INFO - GECKO(6237) | _onContentLoaded/this._frame.contentWindow.close@resource://gre/modules/SubDialog.jsm:378:35
[task 2021-03-24T22:57:46.356Z] 22:57:46 INFO - GECKO(6237) | abort@resource://gre/modules/SubDialog.jsm:199:31
[task 2021-03-24T22:57:46.357Z] 22:57:46 INFO - GECKO(6237) | abortDialogs/<@resource://gre/modules/SubDialog.jsm:978:61
[task 2021-03-24T22:57:46.358Z] 22:57:46 INFO - GECKO(6237) | abortDialogs@resource://gre/modules/SubDialog.jsm:978:36
[task 2021-03-24T22:57:46.360Z] 22:57:46 INFO - GECKO(6237) | abortAllDialogs@chrome://browser/content/browser.js:9141:28
[task 2021-03-24T22:57:46.360Z] 22:57:46 INFO - GECKO(6237) | handleEvent@chrome://browser/content/browser.js:9137:10
[task 2021-03-24T22:57:46.360Z] 22:57:46 INFO - GECKO(6237) | _beginRemoveTab@chrome://browser/content/tabbrowser.js:3790:12
[task 2021-03-24T22:57:46.363Z] 22:57:46 INFO - GECKO(6237) | removeTab@chrome://browser/content/tabbrowser.js:3563:15
[task 2021-03-24T22:57:46.363Z] 22:57:46 INFO - GECKO(6237) | Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:432:16
[task 2021-03-24T22:57:46.364Z] 22:57:46 INFO - GECKO(6237) | nextTest@chrome://mochikit/content/browser-test.js:836:10
[task 2021-03-24T22:57:46.380Z] 22:57:46 INFO - GECKO(6237) | JavaScript error: chrome://global/content/print.js, line 360: TypeError: can't access property "frameLoader", this.previewBrowser is null
[task 2021-03-24T22:57:46.381Z] 22:57:46 ERROR - GECKO(6237) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - TypeError: can't access property "frameLoader", this.previewBrowser is null at unload@chrome://global/content/print.js:360:5
[task 2021-03-24T22:57:46.381Z] 22:57:46 INFO - GECKO(6237) | @chrome://global/content/print.js:101:21
[task 2021-03-24T22:57:46.382Z] 22:57:46 INFO - GECKO(6237) | _onContentLoaded/this._frame.contentWindow.close@resource://gre/modules/SubDialog.jsm:378:35
[task 2021-03-24T22:57:46.382Z] 22:57:46 INFO - GECKO(6237) | abort@resource://gre/modules/SubDialog.jsm:199:31
[task 2021-03-24T22:57:46.383Z] 22:57:46 INFO - GECKO(6237) | abortDialogs/<@resource://gre/modules/SubDialog.jsm:978:61
[task 2021-03-24T22:57:46.383Z] 22:57:46 INFO - GECKO(6237) | abortDialogs@resource://gre/modules/SubDialog.jsm:978:36
[task 2021-03-24T22:57:46.384Z] 22:57:46 INFO - GECKO(6237) | abortAllDialogs@chrome://browser/content/browser.js:9141:28
[task 2021-03-24T22:57:46.384Z] 22:57:46 INFO - GECKO(6237) | handleEvent@chrome://browser/content/browser.js:9137:10
[task 2021-03-24T22:57:46.385Z] 22:57:46 INFO - GECKO(6237) | _beginRemoveTab@chrome://browser/content/tabbrowser.js:3790:12
[task 2021-03-24T22:57:46.385Z] 22:57:46 INFO - GECKO(6237) | removeTab@chrome://browser/content/tabbrowser.js:3563:15
[task 2021-03-24T22:57:46.386Z] 22:57:46 INFO - GECKO(6237) | Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:432:16
[task 2021-03-24T22:57:46.387Z] 22:57:46 INFO - GECKO(6237) | nextTest@chrome://mochikit/content/browser-test.js:836:10
[task 2021-03-24T22:57:46.387Z] 22:57:46 INFO - GECKO(6237) | JavaScript error: chrome://global/content/print.js, line 360: TypeError: can't access property "frameLoader", this.previewBrowser is null
[task 2021-03-24T22:57:46.388Z] 22:57:46 INFO - checking window state
[task 2021-03-24T22:57:46.405Z] 22:57:46 INFO - Console message: [JavaScript Error: "TypeError: can't access property "frameLoader", this.previewBrowser is null" {file: "chrome://global/content/print.js" line: 360}]
[task 2021-03-24T22:57:46.405Z] 22:57:46 INFO - unload@chrome://global/content/print.js:360:5
[task 2021-03-24T22:57:46.406Z] 22:57:46 INFO - @chrome://global/content/print.js:101:21
[task 2021-03-24T22:57:46.406Z] 22:57:46 INFO - _onContentLoaded/this._frame.contentWindow.close@resource://gre/modules/SubDialog.jsm:378:35
[task 2021-03-24T22:57:46.407Z] 22:57:46 INFO - abort@resource://gre/modules/SubDialog.jsm:199:31
[task 2021-03-24T22:57:46.408Z] 22:57:46 INFO - abortDialogs/<@resource://gre/modules/SubDialog.jsm:978:61
[task 2021-03-24T22:57:46.408Z] 22:57:46 INFO - abortDialogs@resource://gre/modules/SubDialog.jsm:978:36
[task 2021-03-24T22:57:46.408Z] 22:57:46 INFO - abortAllDialogs@chrome://browser/content/browser.js:9141:28
[task 2021-03-24T22:57:46.409Z] 22:57:46 INFO - handleEvent@chrome://browser/content/browser.js:9137:10
[task 2021-03-24T22:57:46.409Z] 22:57:46 INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:3790:12
[task 2021-03-24T22:57:46.409Z] 22:57:46 INFO - removeTab@chrome://browser/content/tabbrowser.js:3563:15
[task 2021-03-24T22:57:46.409Z] 22:57:46 INFO - Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:432:16
[task 2021-03-24T22:57:46.410Z] 22:57:46 INFO - nextTest@chrome://mochikit/content/browser-test.js:836:10
[task 2021-03-24T22:57:46.410Z] 22:57:46 INFO -
[task 2021-03-24T22:57:46.414Z] 22:57:46 INFO - Console message: [JavaScript Error: "TypeError: can't access property "frameLoader", this.previewBrowser is null" {file: "chrome://global/content/print.js" line: 360}]
[task 2021-03-24T22:57:46.414Z] 22:57:46 INFO - unload@chrome://global/content/print.js:360:5
[task 2021-03-24T22:57:46.414Z] 22:57:46 INFO - @chrome://global/content/print.js:101:21
[task 2021-03-24T22:57:46.415Z] 22:57:46 INFO - _onContentLoaded/this._frame.contentWindow.close@resource://gre/modules/SubDialog.jsm:378:35
[task 2021-03-24T22:57:46.415Z] 22:57:46 INFO - abort@resource://gre/modules/SubDialog.jsm:199:31
[task 2021-03-24T22:57:46.416Z] 22:57:46 INFO - abortDialogs/<@resource://gre/modules/SubDialog.jsm:978:61
[task 2021-03-24T22:57:46.417Z] 22:57:46 INFO - abortDialogs@resource://gre/modules/SubDialog.jsm:978:36
[task 2021-03-24T22:57:46.417Z] 22:57:46 INFO - abortAllDialogs@chrome://browser/content/browser.js:9141:28
[task 2021-03-24T22:57:46.418Z] 22:57:46 INFO - handleEvent@chrome://browser/content/browser.js:9137:10
[task 2021-03-24T22:57:46.418Z] 22:57:46 INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:3790:12
[task 2021-03-24T22:57:46.418Z] 22:57:46 INFO - removeTab@chrome://browser/content/tabbrowser.js:3563:15
[task 2021-03-24T22:57:46.419Z] 22:57:46 INFO - Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:432:16
[task 2021-03-24T22:57:46.419Z] 22:57:46 INFO - nextTest@chrome://mochikit/content/browser-test.js:836:10
[task 2021-03-24T22:57:46.420Z] 22:57:46 INFO -
[task 2021-03-24T22:57:46.420Z] 22:57:46 INFO - Console message: [JavaScript Error: "TypeError: can't access property "frameLoader", this.previewBrowser is null" {file: "chrome://global/content/print.js" line: 360}]
[task 2021-03-24T22:57:46.421Z] 22:57:46 INFO - unload@chrome://global/content/print.js:360:5
[task 2021-03-24T22:57:46.421Z] 22:57:46 INFO - @chrome://global/content/print.js:101:21
[task 2021-03-24T22:57:46.422Z] 22:57:46 INFO - _onContentLoaded/this._frame.contentWindow.close@resource://gre/modules/SubDialog.jsm:378:35
[task 2021-03-24T22:57:46.423Z] 22:57:46 INFO - abort@resource://gre/modules/SubDialog.jsm:199:31
[task 2021-03-24T22:57:46.423Z] 22:57:46 INFO - abortDialogs/<@resource://gre/modules/SubDialog.jsm:978:61
[task 2021-03-24T22:57:46.423Z] 22:57:46 INFO - abortDialogs@resource://gre/modules/SubDialog.jsm:978:36
[task 2021-03-24T22:57:46.424Z] 22:57:46 INFO - abortAllDialogs@chrome://browser/content/browser.js:9141:28
[task 2021-03-24T22:57:46.424Z] 22:57:46 INFO - handleEvent@chrome://browser/content/browser.js:9137:10
[task 2021-03-24T22:57:46.425Z] 22:57:46 INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:3790:12
[task 2021-03-24T22:57:46.425Z] 22:57:46 INFO - removeTab@chrome://browser/content/tabbrowser.js:3563:15
[task 2021-03-24T22:57:46.426Z] 22:57:46 INFO - Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:432:16
[task 2021-03-24T22:57:46.426Z] 22:57:46 INFO - nextTest@chrome://mochikit/content/browser-test.js:836:10
[task 2021-03-24T22:57:46.428Z] 22:57:46 INFO -
[task 2021-03-24T22:57:46.434Z] 22:57:46 INFO - TEST-START | toolkit/components/printing/tests/browser_modal_resize.js```
Comment hidden (Intermittent Failures Robot) |
Comment 3•3 years ago
|
||
Update:
There have been 44 failures within the last 7 days:
- 2 failures on Windows 7 debug/opt
- 1 failure on Windows 10 x64 WebRender debug
- 1 failure on Windows 10 x64 debug
- 3 failures on Linux 18.04 x64 shippable opt
- 37 failures on Linux 18.04 x64 opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=335078089&repo=autoland&lineNumber=5554
[task 2021-03-31T20:11:36.296Z] 20:11:36 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs -
[task 2021-03-31T20:11:36.297Z] 20:11:36 INFO - Buffered messages finished
[task 2021-03-31T20:11:36.298Z] 20:11:36 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | A promise chain failed to handle a rejection: can't access property "browsingContext", aBrowsingContext.top.embedderElement is null - stack: _createPreviewBrowser@chrome://global/content/printUtils.js:153:1
[task 2021-03-31T20:11:36.299Z] 20:11:36 INFO - createPreviewBrowsers@chrome://global/content/printUtils.js:189:47
[task 2021-03-31T20:11:36.299Z] 20:11:36 INFO - init@chrome://global/content/print.js:169:20
[task 2021-03-31T20:11:36.299Z] 20:11:36 INFO - @chrome://global/content/print.js:92:45
[task 2021-03-31T20:11:36.299Z] 20:11:36 INFO - Rejection date: Wed Mar 31 2021 20:11:35 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-03-31T20:11:36.300Z] 20:11:36 INFO - Stack trace:
[task 2021-03-31T20:11:36.300Z] 20:11:36 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-03-31T20:11:36.300Z] 20:11:36 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1120
[task 2021-03-31T20:11:36.304Z] 20:11:36 INFO - Leaving test bound testCancelButton
[task 2021-03-31T20:11:36.304Z] 20:11:36 INFO - Entering test bound testTabOrder
[task 2021-03-31T20:11:36.305Z] 20:11:36 INFO - withTestPage: http://example.com/browser/toolkit/components/printing/tests/simplifyArticleSample.html
[task 2021-03-31T20:11:36.305Z] 20:11:36 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-03-31T20:11:36.305Z] 20:11:36 INFO - TEST-PASS | toolkit/components/printing/tests/browser_modal_print.js | There are no print dialogs -
Mark, as the owner of this component, could you help us assign this to someone?
Thank you.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 14•3 years ago
|
||
Looks like recent failures here are at line 173 [1], not line 153, so I'm updating the summary accordingly to make this a clearer match in Treeherder intermittent suggestions.
(Probably it's the same line as it always was, but there's just been code added/removed so the line number has changed.)
[1] e.g. in https://treeherder.mozilla.org/logviewer?job_id=341944955&repo=autoland&lineNumber=4704
Comment 15•3 years ago
|
||
Also FWIW, this seems to be especially failure-prone on Linux opt builds with Fission-enabled (though this test has been disabled on that configuration).
Here's a try run where I un-disabled the test and retriggered the test a bunch. 4 out of 52 M-Fis test runs hit this intermittent failure.
https://treeherder.mozilla.org/jobs?repo=try&revision=35b945a9b460801f1494644ed86dee018fd9e4a5&searchStr=Linux%2Cx64%2Copt%2Cmochitest
Comment 16•3 years ago
•
|
||
The backtrace is pointing to the last line of this snippet of code:
createPreviewBrowsers(aBrowsingContext, aDialogBrowser, aPrintFrameOnly) {
let _createPreviewBrowser = previewType => {
// When we're not previewing the selection or printing only the frame, we
// want to make sure that the top-level browser is being printed.
let browsingContext =
previewType == "selection" || aPrintFrameOnly
? aBrowsingContext
: aBrowsingContext.top.embedderElement.browsingContext;
...and the error says can't access property "browsingContext", aBrowsingContext.top.embedderElement is null - stack: _createPreviewBrowser@chrome://global/content/printUtils.js:173:1
emilio, maybe you can reason about what this means? It looks like you've worked with this snippet of the test a little bit in https://hg.mozilla.org/integration/autoland/rev/b10ba48bdd68#l8.21
I think we need to understand this intermittent failure and its implications (if any) for users, before we get too far into shipping fission, given that this seems to be more common in fission testruns per comment 15.
Comment 17•3 years ago
|
||
I think this is likely to be just a test bug. What this means if there's no embedderElement
is that the browsing context we're trying to print has been either navigated away or its tab has been closed.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Comment 23•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Description
•