Bug: Intermittent browser/base/content/test/general/browser_bug734076.js | no domain was inherited for view background image - false == true - got false, expected true (operator ==)
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-09-06 11:02:04+00:00
Resolved: 2021-03-30 17:01:32+00:00

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

---

```
[task 2020-09-06T10:16:53.565Z] 10:16:53     INFO - TEST-START | browser/base/content/test/general/browser_bug734076.js
[task 2020-09-06T10:16:53.602Z] 10:16:53     INFO - GECKO(3731) | [Child 3950: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fb115f37800 == 2 [pid = 3950] [id = {17f52469-1c8b-468c-9c0c-5494d75d0297}]
[task 2020-09-06T10:16:53.602Z] 10:16:53     INFO - GECKO(3731) | [Child 3950: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7fb135c93520) [pid = 3950] [serial = 92] [outer = (nil)]
[task 2020-09-06T10:16:53.603Z] 10:16:53     INFO - GECKO(3731) | [Child 3950: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7fb115f3a000) [pid = 3950] [serial = 93] [outer = 0x7fb135c93520]
[task 2020-09-06T10:16:53.884Z] 10:16:53     INFO - GECKO(3731) | [Child 3950: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7fb115f3fc00) [pid = 3950] [serial = 94] [outer = 0x7fb135c93520]
[task 2020-09-06T10:16:54.157Z] 10:16:54     INFO - GECKO(3731) | [5562, Unnamed thread 7f9aa105d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-06T10:16:54.157Z] 10:16:54     INFO - GECKO(3731) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmplel6Ix.mozrunner/runtests_leaks.log
[task 2020-09-06T10:16:54.157Z] 10:16:54     INFO - GECKO(3731) | [5562, Unnamed thread 7f9aa105d5e0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp, line 202
[task 2020-09-06T10:16:54.157Z] 10:16:54     INFO - GECKO(3731) | [5562, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp, line 246
[task 2020-09-06T10:16:54.259Z] 10:16:54     INFO - GECKO(3731) | [Child 5562, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp, line 626
[task 2020-09-06T10:16:54.335Z] 10:16:54     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f6347ca7800 == 1 [pid = 5465] [id = {17f52469-1c8b-468c-9c0c-5494d75d0297}]
[task 2020-09-06T10:16:54.336Z] 10:16:54     INFO - GECKO(3731) | [Child 5465, Main Thread] WARNING: NS_ENSURE_TRUE(browserChrome) failed: file /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp, line 11790
[task 2020-09-06T10:16:54.337Z] 10:16:54     INFO - GECKO(3731) | [Child 3950, Main Thread] WARNING: NS_ENSURE_TRUE(mDoneSetup) failed: file /builds/worker/checkouts/gecko/editor/composer/nsEditingSession.cpp, line 1185
[task 2020-09-06T10:16:54.363Z] 10:16:54     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f6364393520) [pid = 5465] [serial = 1] [outer = (nil)]
[task 2020-09-06T10:16:54.370Z] 10:16:54     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f6347c4fc00) [pid = 5465] [serial = 2] [outer = 0x7f6364393520]
[task 2020-09-06T10:16:54.595Z] 10:16:54     INFO - GECKO(3731) | [Child 5465, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp, line 348
[task 2020-09-06T10:16:54.622Z] 10:16:54     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f6347ccfc00) [pid = 5465] [serial = 3] [outer = 0x7f6364393520]
[task 2020-09-06T10:16:54.900Z] 10:16:54     INFO - GECKO(3731) | [Child 3963: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7efdaa8cd400) [pid = 3963] [serial = 83] [outer = (nil)] [url = about:blank]
[task 2020-09-06T10:16:54.937Z] 10:16:54     INFO - GECKO(3731) | [Child 3963: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7efdc6f93180) [pid = 3963] [serial = 82] [outer = (nil)] [url = about:blank]
[task 2020-09-06T10:16:54.973Z] 10:16:54     INFO - TEST-INFO | started process screentopng
[task 2020-09-06T10:16:55.256Z] 10:16:55     INFO - TEST-INFO | screentopng: exit 0
[task 2020-09-06T10:16:55.257Z] 10:16:55     INFO - Buffered messages logged at 10:16:53
[task 2020-09-06T10:16:55.258Z] 10:16:55     INFO - Entering test bound 
[task 2020-09-06T10:16:55.259Z] 10:16:55     INFO - Run subtest view background image
[task 2020-09-06T10:16:55.259Z] 10:16:55     INFO - Buffered messages logged at 10:16:54
[task 2020-09-06T10:16:55.261Z] 10:16:55     INFO - onImage: false
[task 2020-09-06T10:16:55.262Z] 10:16:55     INFO - Buffered messages finished
[task 2020-09-06T10:16:55.263Z] 10:16:55     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_bug734076.js | no domain was inherited for view background image - false == true - got false, expected true (operator ==)
[task 2020-09-06T10:16:55.263Z] 10:16:55     INFO - Stack trace:
[task 2020-09-06T10:16:55.264Z] 10:16:55     INFO - @chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug734076.js:43:18
[task 2020-09-06T10:16:55.265Z] 10:16:55     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2020-09-06T10:16:55.266Z] 10:16:55     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1809:15
[task 2020-09-06T10:16:55.267Z] 10:16:55     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:315:21
[task 2020-09-06T10:16:55.270Z] 10:16:55     INFO - GECKO(3731) | [Parent 3731, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorParent.cpp, line 71
[task 2020-09-06T10:16:55.271Z] 10:16:55     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f6347cb7c00) [pid = 5465] [serial = 4] [outer = 0x7f6364393520]
[task 2020-09-06T10:16:55.302Z] 10:16:55     INFO - Run subtest view image
[task 2020-09-06T10:16:55.632Z] 10:16:55     INFO - onImage: true
[task 2020-09-06T10:16:55.693Z] 10:16:55     INFO - GECKO(3731) | [Child 5465, Main Thread] WARNING: NS_ENSURE_TRUE(mDoneSetup) failed: file /builds/worker/checkouts/gecko/editor/composer/nsEditingSession.cpp, line 1185
[task 2020-09-06T10:16:55.693Z] 10:16:55     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f6347cd4c00) [pid = 5465] [serial = 5] [outer = 0x7f6364393520]
[task 2020-09-06T10:16:55.841Z] 10:16:55     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: "data:text/html,%3Cscript%3Edocument.write(document.domain);%3C/script%3E" line: 0}]
[task 2020-09-06T10:16:55.882Z] 10:16:55     INFO - GECKO(3731) | [Child 3852: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7f56d0ac1000) [pid = 3852] [serial = 117] [outer = (nil)] [url = about:blank]
[task 2020-09-06T10:16:55.882Z] 10:16:55     INFO - GECKO(3731) | [Child 3852: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7f56d0767c00) [pid = 3852] [serial = 112] [outer = (nil)] [url = about:blank]
[task 2020-09-06T10:16:55.883Z] 10:16:55     INFO - GECKO(3731) | [Child 3852: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7f56d0760400) [pid = 3852] [serial = 114] [outer = (nil)] [url = about:blank]
[task 2020-09-06T10:16:55.884Z] 10:16:55     INFO - GECKO(3731) | [Child 3852: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f56d0768800) [pid = 3852] [serial = 116] [outer = (nil)] [url = about:blank]
[task 2020-09-06T10:16:55.919Z] 10:16:55     INFO - TEST-PASS | browser/base/content/test/general/browser_bug734076.js | no domain was inherited for view image - true == true - 
[task 2020-09-06T10:16:56.057Z] 10:16:56     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x7f634e19d800) [pid = 5465] [serial = 6] [outer = 0x7f6364393520]
[task 2020-09-06T10:16:56.261Z] 10:16:56     INFO - Run subtest show only this frame
[task 2020-09-06T10:16:56.306Z] 10:16:56     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f6347cd1c00 == 2 [pid = 5465] [id = {6613f377-12d1-41e1-acbd-8ced262e25da}]
[task 2020-09-06T10:16:56.306Z] 10:16:56     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (0x7f6364393180) [pid = 5465] [serial = 7] [outer = (nil)]
[task 2020-09-06T10:16:56.402Z] 10:16:56     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (0x7f634e1a2400) [pid = 5465] [serial = 8] [outer = 0x7f6364393180]
[task 2020-09-06T10:16:56.590Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 63 (0x7fd5555ee600) [pid = 3731] [serial = 113] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.590Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 62 (0x7fd581f9b9f0) [pid = 3731] [serial = 24] [outer = (nil)] [url = about:config]
[task 2020-09-06T10:16:56.590Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 61 (0x7fd5555ef9f0) [pid = 3731] [serial = 115] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.590Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 60 (0x7fd5555f0c10) [pid = 3731] [serial = 105] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.590Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 59 (0x7fd5555f1350) [pid = 3731] [serial = 119] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.590Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 58 (0x7fd57ab73650) [pid = 3731] [serial = 73] [outer = (nil)] [url = about:sessionrestore]
[task 2020-09-06T10:16:56.591Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 57 (0x7fd5555eeb70) [pid = 3731] [serial = 103] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.591Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 56 (0x7fd5555f04d0) [pid = 3731] [serial = 107] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.591Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 55 (0x7fd5555efbc0) [pid = 3731] [serial = 111] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.595Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 54 (0x7fd5555ee090) [pid = 3731] [serial = 101] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.595Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 53 (0x7fd5555f06a0) [pid = 3731] [serial = 109] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.599Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 52 (0x7fd5555ef0e0) [pid = 3731] [serial = 117] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.599Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 51 (0x7fd5555f16f0) [pid = 3731] [serial = 121] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.599Z] 10:16:56     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 50 (0x7fd5555f1520) [pid = 3731] [serial = 123] [outer = (nil)] [url = chrome://mozapps/content/downloads/unknownContentType.xhtml]
[task 2020-09-06T10:16:56.728Z] 10:16:56     INFO - onImage: false
[task 2020-09-06T10:16:56.766Z] 10:16:56     INFO - GECKO(3731) | [Child 5465, Main Thread] WARNING: NS_ENSURE_TRUE(mDoneSetup) failed: file /builds/worker/checkouts/gecko/editor/composer/nsEditingSession.cpp, line 1185
[task 2020-09-06T10:16:56.767Z] 10:16:56     INFO - GECKO(3731) | [Child 5465: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (0x7f634e1a4800) [pid = 5465] [serial = 9] [outer = 0x7f6364393520]
[task 2020-09-06T10:16:56.924Z] 10:16:56     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: "data:text/html,%3Cscript%3Edocument.write(document.domain);%3C/script%3E" line: 0}]
[task 2020-09-06T10:16:57.027Z] 10:16:57     INFO - TEST-PASS | browser/base/content/test/general/browser_bug734076.js | no domain was inherited for 'show only this frame' - true == true - 
[task 2020-09-06T10:16:57.063Z] 10:16:57     INFO - Leaving test bound 
[task 2020-09-06T10:16:57.106Z] 10:16:57     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fd577e2d800 == 5 [pid = 3731] [id = {e14bd25b-d36f-47a1-ab76-8432241f55d1}] [url = about:config]
[task 2020-09-06T10:16:57.107Z] 10:16:57     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 49 (0x7fd57ab73d90) [pid = 3731] [serial = 34] [outer = (nil)] [url = chrome://mochitests/content/browser/browser/base/content/test/general/test_bug462673.html]
[task 2020-09-06T10:16:57.107Z] 10:16:57     INFO - GECKO(3731) | [Parent 3731: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 48 (0x7fd57ab72260) [pid = 3731] [serial = 44] [outer = (nil)] [url = chrome://mochitests/content/browser/browser/base/content/test/general/test_bug462673.html]
[task 2020-09-06T10:16:57.234Z] 10:16:57     INFO - GECKO(3731) | MEMORY STAT | vsize 3522MB | residentFast 495MB | heapAllocated 182MB
[task 2020-09-06T10:16:57.234Z] 10:16:57     INFO - TEST-OK | browser/base/content/test/general/browser_bug734076.js | took 3670ms
[task 2020-09-06T10:16:57.250Z] 10:16:57     INFO - GECKO(3731) | [Child 3950: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fb115f3a400 == 3 [pid = 3950] [id = {3f13b19d-9027-4a49-8ed0-a0d5072d2a81}]
[task 2020-09-06T10:16:57.250Z] 10:16:57     INFO - GECKO(3731) | [Child 3950: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x7fb135c936f0) [pid = 3950] [serial = 95] [outer = (nil)]
[task 2020-09-06T10:16:57.251Z] 10:16:57     INFO - GECKO(3731) | [Child 3950: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (0x7fb115f3bc00) [pid = 3950] [serial = 96] [outer = 0x7fb135c936f0]
[task 2020-09-06T10:16:57.307Z] 10:16:57     INFO - checking window state
```