Bug: Intermittent browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-02-24 01:16:52+00:00
Resolved: 2023-06-07 12:02:32+00:00

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

---
```
INFO - TEST-START | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js
[task 2021-02-24T00:23:16.239Z] 00:23:16     INFO - TEST-INFO | started process screentopng
[task 2021-02-24T00:23:16.602Z] 00:23:16     INFO - TEST-INFO | screentopng: exit 0
[task 2021-02-24T00:23:16.602Z] 00:23:16     INFO - Buffered messages logged at 00:17:46
[task 2021-02-24T00:23:16.602Z] 00:23:16     INFO - Entering test bound 
[task 2021-02-24T00:23:16.602Z] 00:23:16     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: "data:text/html,Should I stay or should I go?" line: 0}]
[task 2021-02-24T00:23:16.603Z] 00:23:16     INFO - Global property added while loading chrome://global/content/printUtils.js: gFocusedElement
[task 2021-02-24T00:23:16.603Z] 00:23:16     INFO - Global property added while loading chrome://global/content/printUtils.js: gPendingPrintPreviews
[task 2021-02-24T00:23:16.603Z] 00:23:16     INFO - Global property added while loading chrome://global/content/printUtils.js: PRINT_TAB_MODAL
[task 2021-02-24T00:23:16.603Z] 00:23:16     INFO - Global property added while loading chrome://global/content/printUtils.js: PRINT_ALWAYS_SILENT
[task 2021-02-24T00:23:16.603Z] 00:23:16     INFO - Global property added while loading chrome://global/content/printUtils.js: PrintingParent
[task 2021-02-24T00:23:16.603Z] 00:23:16     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: "data:text/html,I shouldn't be here!" line: 0}]
[task 2021-02-24T00:23:16.604Z] 00:23:16     INFO - Buffered messages logged at 00:17:48
[task 2021-02-24T00:23:16.604Z] 00:23:16     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | Selected tab should not be the tab we added - 
[task 2021-02-24T00:23:16.604Z] 00:23:16     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | Selected tab should be the print preview tab - 
[task 2021-02-24T00:23:16.604Z] 00:23:16     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | Selected tab should still not be the tab we added - 
[task 2021-02-24T00:23:16.605Z] 00:23:16     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | Selected tab should still be the print preview tab - 
[task 2021-02-24T00:23:16.606Z] 00:23:16     INFO - Buffered messages finished
[task 2021-02-24T00:23:16.606Z] 00:23:16     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | Test timed out - 
[task 2021-02-24T00:23:16.726Z] 00:23:16     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | Selected tab should be back to the original tab that we print previewed - 
[task 2021-02-24T00:23:16.787Z] 00:23:16     INFO - GECKO(1554) | MEMORY STAT | vsize 130552525MB | residentFast 3715MB
[task 2021-02-24T00:23:16.788Z] 00:23:16     INFO - TEST-OK | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | took 330780ms
[task 2021-02-24T00:23:16.789Z] 00:23:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-02-24T00:23:16.790Z] 00:23:16     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_tabSwitchPrintPreview.js | Found a tab after previous test timed out: data:text/html,Should I stay or should I go? - 
[task 2021-02-24T00:23:16.933Z] 00:23:16     INFO - checking window state
[task 2021-02-24T00:23:17.150Z] 00:23:17     INFO - TEST-START | browser/base/content/test/tabs/browser_tab_a11y_description.js
[task 2021-02-24T00:23:17.368Z] 00:23:17     INFO - GECKO(1554) | JavaScript error: , line 0: uncaught exception: Object
[task 2021-02-24T00:23:17.372Z] 00:23:17     INFO - GECKO(1554) | JavaScript error: , line 0: uncaught exception: Object
[task 2021-02-24T00:23:17.372Z] 00:23:17     INFO - GECKO(1554) | JavaScript error: , line 0: uncaught exception: Object
[task 2021-02-24T00:23:17.472Z] 00:23:17     INFO - GECKO(1554) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1126: TypeError: this.SimpleTest.info is not a function
[task 2021-02-24T00:23:17.794Z] 00:23:17     INFO - GECKO(1554) | JavaScript error: , line 0: uncaught exception: Object
[task 2021-02-24T00:23:17.795Z] 00:23:17     INFO - GECKO(1554) | JavaScript error: , line 0: uncaught exception: Object
[task 2021-02-24T00:23:17.795Z] 00:23:17     INFO - GECKO(1554) | JavaScript error: , line 0: uncaught exception: Object
[task 2021-02-24T00:23:19.321Z] 00:23:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-02-24T00:23:19.321Z] 00:23:19     INFO - Buffered messages logged at 00:23:17
[task 2021-02-24T00:23:19.322Z] 00:23:19     INFO - Entering test bound testTabA11yDescription
[task 2021-02-24T00:23:19.323Z] 00:23:19     INFO - Console message: [JavaScript Error: "TypeError: this.SimpleTest.info is not a function" {file: "chrome://mochikit/content/browser-test.js" line: 1126}]
[task 2021-02-24T00:23:19.323Z] 00:23:19     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2021-02-24T00:23:19.323Z] 00:23:19     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2021-02-24T00:23:19.324Z] 00:23:19     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2021-02-24T00:23:19.325Z] 00:23:19     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2021-02-24T00:23:19.327Z] 00:23:19     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2021-02-24T00:23:19.329Z] 00:23:19     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2021-02-24T00:23:19.329Z] 00:23:19     INFO - Buffered messages logged at 00:23:19
[task 2021-02-24T00:23:19.331Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab1 initially focused - 
[task 2021-02-24T00:23:19.331Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab1 has correct a11y description - 
[task 2021-02-24T00:23:19.332Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab2 has no a11y description - 
[task 2021-02-24T00:23:19.333Z] 00:23:19     INFO - Moving DOM focus to tab2
[task 2021-02-24T00:23:19.333Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab2 got focus after ArrowRight - 
[task 2021-02-24T00:23:19.333Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab2 has correct a11y description - 
[task 2021-02-24T00:23:19.333Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab1 has no a11y description - 
[task 2021-02-24T00:23:19.333Z] 00:23:19     INFO - Moving ARIA focus to tab1
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab1 got AriaFocus after Accel+ArrowLeft - 
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab1 has correct a11y description - 
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab2 has no a11y description - 
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - Removing ARIA focus (reverting to DOM focus)
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab2 got AriaFocus after ArrowRight - 
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab2 has correct a11y description - 
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tab_a11y_description.js | tab1 has no a11y description - 
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - Buffered messages finished
[task 2021-02-24T00:23:19.336Z] 00:23:19     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_tab_a11y_description.js | A promise chain failed to handle a rejection: this.SimpleTest.info is not a function - stack: Tester_execTest/<@chrome://mochikit/content/browser-test.js:1126:29
[task 2021-02-24T00:23:19.337Z] 00:23:19     INFO - Rejection date: Wed Feb 24 2021 00:23:17 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 282
[task 2021-02-24T00:23:19.337Z] 00:23:19     INFO - Stack trace:
[task 2021-02-24T00:23:19.337Z] 00:23:19     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:282
[task 2021-02-24T00:23:19.337Z] 00:23:19     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1120
[task 2021-02-24T00:23:19.337Z] 00:23:19     INFO - Leaving test bound testTabA11yDescription
[task 2021-02-24T00:23:19.439Z] 00:23:19     INFO - GECKO(1554) | MEMORY STAT | vsize 130552519MB | residentFast 3705MB
[task 2021-02-24T00:23:19.440Z] 00:23:19     INFO - TEST-OK | browser/base/content/test/tabs/browser_tab_a11y_description.js | took 2283ms
[task 2021-02-24T00:23:19.520Z] 00:23:19     INFO - checking window state
[task 2021-02-24T00:23:19.642Z] 00:23:19     INFO - TEST-START | browser/base/content/test/tabs/browser_tab_label_during_reload.js```