Bug: Intermittent browser/components/sessionstore/test/browser_sessionStorage.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_sessionStorage.js:95 - TypeError: can't access property "test", storage[
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-08-07 18:57:07+00:00
Resolved: 2022-07-25 23:05:51+00:00

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

---
```
[task 2021-08-07T17:58:16.933Z] 17:58:16     INFO - TEST-START | browser/components/sessionstore/test/browser_sessionStorage.js
[task 2021-08-07T17:58:18.025Z] 17:58:18     INFO - TEST-INFO | started process screentopng
[task 2021-08-07T17:58:18.278Z] 17:58:18     INFO - TEST-INFO | screentopng: exit 0
[task 2021-08-07T17:58:18.279Z] 17:58:18     INFO - Buffered messages logged at 17:58:16
[task 2021-08-07T17:58:18.279Z] 17:58:18     INFO - Entering test bound session_storage
[task 2021-08-07T17:58:18.279Z] 17:58:18     INFO - Buffered messages logged at 17:58:17
[task 2021-08-07T17:58:18.280Z] 17:58:18     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:18.281Z] 17:58:18     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:18.281Z] 17:58:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data for example.com has been serialized correctly - 
[task 2021-08-07T17:58:18.282Z] 17:58:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data for mochi.test has been serialized correctly - 
[task 2021-08-07T17:58:18.283Z] 17:58:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data for example.com has been serialized correctly - 
[task 2021-08-07T17:58:18.283Z] 17:58:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data for mochi.test has been serialized correctly - 
[task 2021-08-07T17:58:18.284Z] 17:58:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data for example.com has been serialized correctly - 
[task 2021-08-07T17:58:18.285Z] 17:58:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data for mochi.test has been serialized correctly - 
[task 2021-08-07T17:58:18.285Z] 17:58:18     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:18.286Z] 17:58:18     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:18.287Z] 17:58:18     INFO - Buffered messages finished
[task 2021-08-07T17:58:18.287Z] 17:58:18     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_sessionStorage.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_sessionStorage.js:95 - TypeError: can't access property "test", storage[INNER_ORIGIN] is undefined
[task 2021-08-07T17:58:18.288Z] 17:58:18     INFO - Stack trace:
[task 2021-08-07T17:58:18.288Z] 17:58:18     INFO - session_storage@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_sessionStorage.js:95:1
[task 2021-08-07T17:58:18.288Z] 17:58:18     INFO - Leaving test bound session_storage
[task 2021-08-07T17:58:18.289Z] 17:58:18     INFO - Entering test bound purge_domain
[task 2021-08-07T17:58:18.411Z] 17:58:18     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:18.412Z] 17:58:18     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:18.711Z] 17:58:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data for mochi.test has been purged - 
[task 2021-08-07T17:58:18.712Z] 17:58:18     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data for example.com has been preserved - 
[task 2021-08-07T17:58:18.716Z] 17:58:18     INFO - Leaving test bound purge_domain
[task 2021-08-07T17:58:18.717Z] 17:58:18     INFO - Entering test bound respect_privacy_level
[task 2021-08-07T17:58:18.938Z] 17:58:18     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:18.939Z] 17:58:18     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:19.122Z] 17:58:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | http sessionStorage data has been saved - 
[task 2021-08-07T17:58:19.123Z] 17:58:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | https sessionStorage data has been saved - 
[task 2021-08-07T17:58:19.573Z] 17:58:19     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:19.574Z] 17:58:19     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:19.757Z] 17:58:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | http sessionStorage data has been saved - 
[task 2021-08-07T17:58:19.759Z] 17:58:19     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | https sessionStorage data has *not* been saved - 
[task 2021-08-07T17:58:19.950Z] 17:58:19     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:19.953Z] 17:58:19     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:20.270Z] 17:58:20     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:20.270Z] 17:58:20     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.com/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2021-08-07T17:58:20.536Z] 17:58:20     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | sessionStorage data has *not* been saved - 
[task 2021-08-07T17:58:20.556Z] 17:58:20     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | http sessionStorage data has been saved - 
[task 2021-08-07T17:58:20.558Z] 17:58:20     INFO - TEST-PASS | browser/components/sessionstore/test/browser_sessionStorage.js | https sessionStorage data has been saved - 
[task 2021-08-07T17:58:20.559Z] 17:58:20     INFO - Leaving test bound respect_privacy_level
[task 2021-08-07T17:58:20.562Z] 17:58:20     INFO - GECKO(18415) | MEMORY STAT | vsize 11671MB | residentFast 446MB | heapAllocated 267MB
[task 2021-08-07T17:58:20.568Z] 17:58:20     INFO - TEST-OK | browser/components/sessionstore/test/browser_sessionStorage.js | took 3629ms
[task 2021-08-07T17:58:20.569Z] 17:58:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-07T17:58:20.570Z] 17:58:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_sessionStorage.js | Found an unexpected tab at the end of test run: http://mochi.test:8888/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849 - 
[task 2021-08-07T17:58:20.571Z] 17:58:20     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-08-07T17:58:20.573Z] 17:58:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_sessionStorage.js | Found an unexpected tab at the end of test run: http://mochi.test:8888/browser/browser/components/sessionstore/test/browser_sessionStorage.html?0.08359350035440849 - 
[task 2021-08-07T17:58:20.607Z] 17:58:20     INFO - checking window state
```