Bug: Intermittent browser/components/sessionstore/test/browser_restore_redirect.js | Test timed out - |  Found a tab after previous test timed out: http://example.com/browser/browser/components/sessionstore/test/restore_redirect_http.html -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-06-04 12:11:09+00:00
Resolved: 2020-07-06 06:17:46+00:00

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

---

[task 2020-06-04T11:13:52.482Z] 11:13:52     INFO - TEST-START | browser/components/sessionstore/test/browser_restore_redirect.js
[task 2020-06-04T11:13:52.648Z] 11:13:52     INFO - GECKO(3136) | JavaScript error: resource://gre/modules/sessionstore/SessionHistory.jsm, line 109: TypeError: can't access property "legacySHistory", history is null
[task 2020-06-04T11:14:37.515Z] 11:14:37     INFO - TEST-INFO | started process screenshot
[task 2020-06-04T11:14:37.585Z] 11:14:37     INFO - TEST-INFO | screenshot: exit 0
[task 2020-06-04T11:14:37.585Z] 11:14:37     INFO - Buffered messages logged at 11:13:52
[task 2020-06-04T11:14:37.585Z] 11:14:37     INFO - Entering test bound check_http_redirect
[task 2020-06-04T11:14:37.585Z] 11:14:37     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/browser/components/sessionstore/test/restore_redirect_target.html" line: 0}]
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - Restored tab
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - Console message: [JavaScript Error: "TypeError: can't access property "legacySHistory", history is null" {file: "resource://gre/modules/sessionstore/SessionHistory.jsm" line: 109}]
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - collect@resource://gre/modules/sessionstore/SessionHistory.jsm:109:1
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - collect@resource://gre/modules/sessionstore/SessionHistory.jsm:39:35
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - collectFrom/<@resource:///modules/sessionstore/ContentSessionStore.jsm:200:36
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - send@resource:///modules/sessionstore/ContentSessionStore.jsm:468:19
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - flush@resource:///modules/sessionstore/ContentSessionStore.jsm:799:23
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - receiveMessage@resource:///modules/sessionstore/ContentSessionStore.jsm:615:14
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - MessageListener.receiveMessage*ContentSessionStore/<@resource:///modules/sessionstore/ContentSessionStore.jsm:544:30
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - ContentSessionStore@resource:///modules/sessionstore/ContentSessionStore.jsm:544:14
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - @chrome://browser/content/content-sessionStore.js:13:6
[task 2020-06-04T11:14:37.586Z] 11:14:37     INFO - 
[task 2020-06-04T11:14:37.587Z] 11:14:37     INFO - Buffered messages finished
[task 2020-06-04T11:14:37.587Z] 11:14:37     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_restore_redirect.js | Test timed out - 
[task 2020-06-04T11:14:37.587Z] 11:14:37     INFO - GECKO(3136) | MEMORY STAT | vsize 2104701MB | vsizeMaxContiguous 65302596MB | residentFast 404MB | heapAllocated 93MB
[task 2020-06-04T11:14:37.587Z] 11:14:37     INFO - TEST-OK | browser/components/sessionstore/test/browser_restore_redirect.js | took 45077ms
[task 2020-06-04T11:14:37.587Z] 11:14:37     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-06-04T11:14:37.588Z] 11:14:37     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_restore_redirect.js | Found a tab after previous test timed out: http://example.com/browser/browser/components/sessionstore/test/restore_redirect_http.html - 
[task 2020-06-04T11:14:37.588Z] 11:14:37     INFO - GECKO(3136) | JavaScript error: resource:///modules/sessionstore/ContentSessionStore.jsm, line 465: Error: TelemetryStopwatch: key "FX_SESSION_RESTORE_CONTENT_COLLECT_DATA_MS" was already initialized
[task 2020-06-04T11:14:37.588Z] 11:14:37     INFO - GECKO(3136) | JavaScript error: resource://gre/modules/sessionstore/SessionHistory.jsm, line 109: TypeError: can't access property "legacySHistory", history is null
[task 2020-06-04T11:14:37.588Z] 11:14:37     INFO - checking window state