Bug: Intermittent browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | public window should only see public items - Got "0", expected "1"
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-09-04 07:11:46+00:00
Resolved: 2021-03-09 17:04:49+00:00

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

---

[task 2020-09-04T05:31:35.828Z] 05:31:35     INFO - TEST-START | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js
[task 2020-09-04T05:31:35.995Z] 05:31:35     INFO - GECKO(10209) | JavaScript error: http://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=set&name=test&value=value&initial=true, line 16: NS_ERROR_FAILURE:
[task 2020-09-04T05:31:36.739Z] 05:31:36     INFO - TEST-INFO | started process screentopng
[task 2020-09-04T05:31:37.049Z] 05:31:37     INFO - TEST-INFO | screentopng: exit 0
[task 2020-09-04T05:31:37.050Z] 05:31:37     INFO - Buffered messages logged at 05:31:35
[task 2020-09-04T05:31:37.050Z] 05:31:37     INFO - Entering test bound setup
[task 2020-09-04T05:31:37.051Z] 05:31:37     INFO - Leaving test bound setup
[task 2020-09-04T05:31:37.052Z] 05:31:37     INFO - Entering test bound test
[task 2020-09-04T05:31:37.052Z] 05:31:37     INFO - Buffered messages logged at 05:31:36
[task 2020-09-04T05:31:37.053Z] 05:31:37     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: " {file: "http://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=set&name=test&value=value&initial=true" line: 16}]
[task 2020-09-04T05:31:37.053Z] 05:31:37     INFO - @http://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=set&name=test&value=value&initial=true:16:18
[task 2020-09-04T05:31:37.053Z] 05:31:37     INFO - 
[task 2020-09-04T05:31:37.054Z] 05:31: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://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=set&name=test&value=value&initial=true" line: 0}]
[task 2020-09-04T05:31:37.055Z] 05:31: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://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=set&name=test2&value=value2" line: 0}]
[task 2020-09-04T05:31:37.056Z] 05:31:37     INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | public window shouldn't see private storage - 
[task 2020-09-04T05:31:37.057Z] 05:31:37     INFO - Buffered messages finished
[task 2020-09-04T05:31:37.057Z] 05:31:37     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | public window should only see public items - Got "0", expected "1"
[task 2020-09-04T05:31:37.058Z] 05:31:37     INFO - Stack trace:
[task 2020-09-04T05:31:37.058Z] 05:31:37     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-09-04T05:31:37.058Z] 05:31:37     INFO - chrome://mochitests/content/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js:test:49
[task 2020-09-04T05:31:37.059Z] 05:31: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://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=get&name=test2" line: 0}]
[task 2020-09-04T05:31:37.059Z] 05:31:37     INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | private window shouldn't see public storage - 
[task 2020-09-04T05:31:37.060Z] 05:31:37     INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | private window should only see private items - 
[task 2020-09-04T05:31:37.061Z] 05:31: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://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=get&name=test" line: 0}]
[task 2020-09-04T05:31:37.808Z] 05:31:37     INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | public window shouldn't see cleared private storage - 
[task 2020-09-04T05:31:37.808Z] 05:31:37     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-09-04T05:31:37.809Z] 05:31:37     INFO - TEST-UNEXPECTED-FAIL | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | public window should only see public items - Got "0", expected "1"
[task 2020-09-04T05:31:37.809Z] 05:31:37     INFO - Stack trace:
[task 2020-09-04T05:31:37.809Z] 05:31:37     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-09-04T05:31:37.810Z] 05:31:37     INFO - chrome://mochitests/content/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js:test:78
[task 2020-09-04T05:31:37.828Z] 05:31: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://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=get&name=test2" line: 0}]
[task 2020-09-04T05:31:38.569Z] 05:31:38     INFO - TEST-PASS | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | private window should only see new private items - 
[task 2020-09-04T05:31:38.578Z] 05:31:38     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://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?action=set&name=test3&value=value3" line: 0}]
[task 2020-09-04T05:31:38.619Z] 05:31:38     INFO - Leaving test bound test
[task 2020-09-04T05:31:38.620Z] 05:31:38     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://mochi.test:8888/browser/browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent_page.html?final=true" line: 0}]
[task 2020-09-04T05:31:38.703Z] 05:31:38     INFO - GECKO(10209) | MEMORY STAT | vsize 3593MB | residentFast 616MB | heapAllocated 320MB
[task 2020-09-04T05:31:38.704Z] 05:31:38     INFO - TEST-OK | browser/components/privatebrowsing/test/browser/browser_privatebrowsing_concurrent.js | took 2876ms
[task 2020-09-04T05:31:38.731Z] 05:31:38     INFO - checking window state
[task 2020-09-04T05:31:38.731Z] 05:31:38     INFO - GECKO(10209) | must wait for focus