Bug: Intermittent browser/components/aboutlogins/tests/browser/browser_loginSortOrderRestored.js | [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebBrowserPrint.printPreviewCurrentPageNumber]"  nsresult:
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-12-09 13:27:59+00:00
Resolved: 2021-01-05 17:00:11+00:00

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

---
```
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_loginSortOrderRestored.js | 'last-changed' should be stored in the pref - 
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - Buffered messages logged at 12:42:37
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebBrowserPrint.printPreviewCurrentPageNumber]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/actors/PrintingChild.jsm :: updateCurrentPage :: line 444"  data: no]"]
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - updateCurrentPage@resource://gre/actors/PrintingChild.jsm:444:7
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - handleEvent/this._scrollTask<@resource://gre/actors/PrintingChild.jsm:100:24
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - _runTask@resource://gre/modules/DeferredTask.jsm:333:18
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - _timerCallback/<@resource://gre/modules/DeferredTask.jsm:305:20
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - _timerCallback@resource://gre/modules/DeferredTask.jsm:324:9
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - callback/<@resource://gre/modules/DeferredTask.jsm:179:18
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - 
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - Buffered messages finished
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_loginSortOrderRestored.js | [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebBrowserPrint.printPreviewCurrentPageNumber]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/actors/PrintingChild.jsm :: updateCurrentPage :: line 444"  data: no]"]
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - updateCurrentPage@resource://gre/actors/PrintingChild.jsm:444:7
[task 2020-12-09T12:42:37.110Z] 12:42:37     INFO - handleEvent/this._scrollTask<@resource://gre/actors/PrintingChild.jsm:100:24
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO - _runTask@resource://gre/modules/DeferredTask.jsm:333:18
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO - _timerCallback/<@resource://gre/modules/DeferredTask.jsm:305:20
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO - _timerCallback@resource://gre/modules/DeferredTask.jsm:324:9
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO - callback/<@resource://gre/modules/DeferredTask.jsm:179:18
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO -  - 
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO - Stack trace:
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO - chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/head.js:onConsoleMessage:150
[task 2020-12-09T12:42:37.111Z] 12:42:37     INFO - resource://specialpowers/SpecialPowersChild.jsm:observe/<:158```