Bug: Intermittent [tier 2] browser/components/sessionstore/test/browser_broadcast.js | Uncaught exception - at chrome://*/browser/components/sessionstore/test/browser_broadcast.js:138 - TypeError: can't access property "http://example.com", storage is null
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-07-29 07:24:24+00:00
Resolved: 2021-08-24 17:00:43+00:00

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

---
```
[task 2021-07-29T06:38:05.349Z] 06:38:05     INFO - TEST-START | browser/components/sessionstore/test/browser_broadcast.js
[task 2021-07-29T06:38:05.849Z] 06:38:05     INFO - GECKO(21043) | Loaded url: http://example.com/
[task 2021-07-29T06:38:05.981Z] 06:38:05     INFO - GECKO(21043) | Loaded url: http://example.com/
[task 2021-07-29T06:38:06.900Z] 06:38:06     INFO - GECKO(21043) | Loaded url: http://example.com/
[task 2021-07-29T06:38:07.369Z] 06:38:07     INFO - GECKO(21043) | Loaded url: http://example.com/
[task 2021-07-29T06:38:07.543Z] 06:38:07     INFO - GECKO(21043) | Loaded url: http://example.com/
[task 2021-07-29T06:38:07.579Z] 06:38:07     INFO - TEST-INFO | started process screentopng
[task 2021-07-29T06:38:08.063Z] 06:38:08     INFO - TEST-INFO | screentopng: exit 0
[task 2021-07-29T06:38:08.064Z] 06:38:08     INFO - Buffered messages logged at 06:38:05
[task 2021-07-29T06:38:08.064Z] 06:38:08     INFO - Entering test bound flush_on_tabclose
[task 2021-07-29T06:38:08.065Z] 06:38:08     INFO - TEST-PASS | browser/components/sessionstore/test/browser_broadcast.js | sessionStorage data has been flushed on TabClose - 
[task 2021-07-29T06:38:08.066Z] 06:38:08     INFO - Leaving test bound flush_on_tabclose
[task 2021-07-29T06:38:08.067Z] 06:38:08     INFO - Entering test bound flush_on_duplicate
[task 2021-07-29T06:38:08.069Z] 06:38:08     INFO - Buffered messages logged at 06:38:06
[task 2021-07-29T06:38:08.069Z] 06:38:08     INFO - TEST-PASS | browser/components/sessionstore/test/browser_broadcast.js | sessionStorage data has been flushed when duplicating tabs - 
[task 2021-07-29T06:38:08.070Z] 06:38:08     INFO - Leaving test bound flush_on_duplicate
[task 2021-07-29T06:38:08.070Z] 06:38:08     INFO - Entering test bound flush_on_windowclose
[task 2021-07-29T06:38:08.070Z] 06:38:08     INFO - Buffered messages logged at 06:38:07
[task 2021-07-29T06:38:08.070Z] 06:38:08     INFO - TEST-PASS | browser/components/sessionstore/test/browser_broadcast.js | sessionStorage data has been flushed when closing a window - 
[task 2021-07-29T06:38:08.075Z] 06:38:08     INFO - Leaving test bound flush_on_windowclose
[task 2021-07-29T06:38:08.075Z] 06:38:08     INFO - Entering test bound flush_on_settabstate
[task 2021-07-29T06:38:08.076Z] 06:38:08     INFO - TEST-PASS | browser/components/sessionstore/test/browser_broadcast.js | sessionStorage data has not been overwritten - 
[task 2021-07-29T06:38:08.076Z] 06:38:08     INFO - Leaving test bound flush_on_settabstate
[task 2021-07-29T06:38:08.076Z] 06:38:08     INFO - Entering test bound flush_on_tabclose_racy
[task 2021-07-29T06:38:08.076Z] 06:38:08     INFO - Buffered messages finished
[task 2021-07-29T06:38:08.077Z] 06:38:08     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_broadcast.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:138 - TypeError: can't access property "http://example.com", storage is null
[task 2021-07-29T06:38:08.077Z] 06:38:08     INFO - Stack trace:
[task 2021-07-29T06:38:08.077Z] 06:38:08     INFO - flush_on_tabclose_racy@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:138:1
[task 2021-07-29T06:38:08.079Z] 06:38:08     INFO - Leaving test bound flush_on_tabclose_racy
[task 2021-07-29T06:38:08.079Z] 06:38:08     INFO - GECKO(21043) | MEMORY STAT | vsize 3382MB | residentFast 473MB | heapAllocated 266MB
[task 2021-07-29T06:38:08.080Z] 06:38:08     INFO - TEST-OK | browser/components/sessionstore/test/browser_broadcast.js | took 2256ms
[task 2021-07-29T06:38:08.081Z] 06:38:08     INFO - checking window state
[task 2021-07-29T06:38:08.087Z] 06:38:08     INFO - TEST-START | browser/components/sessionstore/test/browser_capabilities.js
```