Bug: Intermittent browser/base/content/test/general/browser_bug495058.js | about:privatebrowsing: browser is focused - {} == [object XULFrameElement] - JS frame :: chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug495058.js
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-06-16 22:12:25+00:00
Resolved: 2021-08-31 17:00:24+00:00

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

---
```
[task 2021-06-16T21:16:37.072Z] 21:16:37     INFO - TEST-START | browser/base/content/test/general/browser_bug495058.js
[task 2021-06-16T21:16:38.402Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
[task 2021-06-16T21:16:38.402Z] 21:16:38     INFO - GECKO(2540) | [GF
[task 2021-06-16T21:16:38.403Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
[task 2021-06-16T21:16:38.404Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
[task 2021-06-16T21:16:38.404Z] 21:16:38     INFO - GECKO(2540) | X1-]
[task 2021-06-16T21:16:38.404Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
[task 2021-06-16T21:16:38.405Z] 21:16:38     INFO - GECKO(2540) | : Receive IPC close with reason=AbnormalShutdown
[task 2021-06-16T21:16:38.407Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x600020,name=PLayerTransaction::Msg_Shutdown) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.407Z] 21:16:38     INFO - GECKO(2540) | [Child 212, IPC I/O Child] WARNING: pipe error: 232: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/ipc_channel_win.cc:544
[task 2021-06-16T21:16:38.407Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x360039,name=PCompositorBridge::Msg_PWebRenderBridgeConstructor) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.408Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0xA80001,name=PWebRenderBridge::Msg_EnsureConnected) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.408Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Failed as lost WebRenderBridgeChild.
[task 2021-06-16T21:16:38.409Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x36002F,name=PCompositorBridge::Msg_PLayerTransactionConstructor) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.411Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0x60001D,name=PLayerTransaction::Msg_GetTextureFactoryIdentifier) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.411Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x600020,name=PLayerTransaction::Msg_Shutdown) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.412Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0xA80026,name=PWebRenderBridge::Msg_Shutdown) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.413Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0xD,name=PAPZ::Msg_Destroy) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.414Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0x360015,name=PCompositorBridge::Msg_WillClose) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.415Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x36002F,name=PCompositorBridge::Msg_PLayerTransactionConstructor) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.415Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0x60001D,name=PLayerTransaction::Msg_GetTextureFactoryIdentifier) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.416Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x600020,name=PLayerTransaction::Msg_Shutdown) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.416Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
[task 2021-06-16T21:16:38.417Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
[task 2021-06-16T21:16:38.417Z] 21:16:38     INFO - GECKO(2540) | IPDL protocol error: Handler returned error code!
[task 2021-06-16T21:16:38.418Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Parent][DispatchSyncMessage] Error: PCompositorBridge::Msg_NotifyChildRecreated Processing error: message was deserialized, but the handler returned false (indicating failure)
[task 2021-06-16T21:16:38.419Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x36002F,name=PCompositorBridge::Msg_PLayerTransactionConstructor) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.420Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0x60001D,name=PLayerTransaction::Msg_GetTextureFactoryIdentifier) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.420Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x600020,name=PLayerTransaction::Msg_Shutdown) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.421Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0x360015,name=PCompositorBridge::Msg_WillClose) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.421Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
[task 2021-06-16T21:16:38.422Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0x360039,name=PCompositorBridge::Msg_PWebRenderBridgeConstructor) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.424Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0xA80001,name=PWebRenderBridge::Msg_EnsureConnected) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.425Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Failed as lost WebRenderBridgeChild.
[task 2021-06-16T21:16:38.425Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0xA80026,name=PWebRenderBridge::Msg_Shutdown) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.425Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel] Error: (msgtype=0xD,name=PAPZ::Msg_Destroy) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.425Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Child][MessageChannel::SendAndWait] Error: (msgtype=0x360015,name=PCompositorBridge::Msg_WillClose) Channel error: cannot send/recv
[task 2021-06-16T21:16:38.426Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2021-06-16T21:16:38.426Z] 21:16:38     INFO - GECKO(2540) | IPDL protocol error: Handler returned error code!
[task 2021-06-16T21:16:38.427Z] 21:16:38     INFO - GECKO(2540) | ###!!! [Parent][DispatchSyncMessage] Error: PCompositorBridge::Msg_NotifyChildRecreated Processing error: message was deserialized, but the handler returned false (indicating failure)
[task 2021-06-16T21:16:38.437Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2021-06-16T21:16:38.439Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Failed to connect WebRenderJavaScripBtridgeChild.
[task 2021-06-16T21:16:38.441Z] 21:16:38     INFO - GECKO(2540) |  error: resource://testing-common/ContentEventListenerChild.jsm, line 147: TypeError: this.docShell is null
[task 2021-06-16T21:16:38.441Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2021-06-16T21:16:38.455Z] 21:16:38     INFO - GECKO(2540) | JavaScript error: resource://testing-common/ContentEventListenerChild.jsm, line 147: TypeError: this.docShell is null
[task 2021-06-16T21:16:38.457Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2021-06-16T21:16:38.459Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2021-06-16T21:16:38.475Z] 21:16:38     INFO - GECKO(2540) | JavaScript error: resource://testing-common/ContentEventListenerChild.jsm, line 147: TypeError: this.docShell is null
[task 2021-06-16T21:16:38.476Z] 21:16:38     INFO - GECKO(2540) | JavaScript error: resource://testing-common/ContentEventListenerChild.jsm, line 147: TypeError: this.docShell is null
[task 2021-06-16T21:16:38.477Z] 21:16:38     INFO - GECKO(2540) | JavaScript er[GFX1-]: Receror: resoive IPC curce://telossting-ceomm with reason=Aon/ConbnormalShutdown
[task 2021-06-16T21:16:38.477Z] 21:16:38     INFO - GECKO(2540) | tentEventListenerChild.jsm, line 147: TypeError: this.docShell is null
[task 2021-06-16T21:16:38.478Z] 21:16:38     INFO - GECKO(2540) | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
[task 2021-06-16T21:16:38.780Z] 21:16:38     INFO - TEST-INFO | started process screenshot
[task 2021-06-16T21:16:38.871Z] 21:16:38     INFO - TEST-INFO | screenshot: exit 0
[task 2021-06-16T21:16:38.873Z] 21:16:38     INFO - Buffered messages logged at 21:16:37
[task 2021-06-16T21:16:38.874Z] 21:16:38     INFO - Entering test bound 
[task 2021-06-16T21:16:38.874Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:blank: uri loaded in detached tab - "about:blank" == "about:blank" - 
[task 2021-06-16T21:16:38.875Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:blank: browser is focused - [object XULFrameElement] == [object XULFrameElement] - 
[task 2021-06-16T21:16:38.875Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:blank: urlbar is empty - "" == "" - 
[task 2021-06-16T21:16:38.876Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:blank: placeholder text is present - "Search with Google or enter address" == true - 
[task 2021-06-16T21:16:38.877Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:sessionrestore: uri loaded in detached tab - "about:sessionrestore" == "about:sessionrestore" - 
[task 2021-06-16T21:16:38.877Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:sessionrestore: browser is focused - [object XULFrameElement] == [object XULFrameElement] - 
[task 2021-06-16T21:16:38.878Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:sessionrestore: urlbar is empty - "" == "" - 
[task 2021-06-16T21:16:38.878Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:sessionrestore: placeholder text is present - "Search with Google or enter address" == true - 
[task 2021-06-16T21:16:38.879Z] 21:16:38     INFO - Buffered messages logged at 21:16:38
[task 2021-06-16T21:16:38.880Z] 21:16:38     INFO - Console message: [JavaScript Error: "TypeError: this.docShell is null" {file: "resource://testing-common/ContentEventListenerChild.jsm" line: 147}]
[task 2021-06-16T21:16:38.880Z] 21:16:38     INFO - _updateContentEventListeners@resource://testing-common/ContentEventListenerChild.jsm:147:11
[task 2021-06-16T21:16:38.880Z] 21:16:38     INFO - handleEvent@resource://testing-common/ContentEventListenerChild.jsm:41:14
[task 2021-06-16T21:16:38.880Z] 21:16:38     INFO - 
[task 2021-06-16T21:16:38.881Z] 21:16:38     INFO - Console message: [JavaScript Error: "TypeError: this.docShell is null" {file: "resource://testing-common/ContentEventListenerChild.jsm" line: 147}]
[task 2021-06-16T21:16:38.881Z] 21:16:38     INFO - _updateContentEventListeners@resource://testing-common/ContentEventListenerChild.jsm:147:11
[task 2021-06-16T21:16:38.881Z] 21:16:38     INFO - handleEvent@resource://testing-common/ContentEventListenerChild.jsm:41:14
[task 2021-06-16T21:16:38.881Z] 21:16:38     INFO - 
[task 2021-06-16T21:16:38.882Z] 21:16:38     INFO - Console message: [JavaScript Error: "TypeError: this.docShell is null" {file: "resource://testing-common/ContentEventListenerChild.jsm" line: 147}]
[task 2021-06-16T21:16:38.882Z] 21:16:38     INFO - _updateContentEventListeners@resource://testing-common/ContentEventListenerChild.jsm:147:11
[task 2021-06-16T21:16:38.882Z] 21:16:38     INFO - handleEvent@resource://testing-common/ContentEventListenerChild.jsm:41:14
[task 2021-06-16T21:16:38.882Z] 21:16:38     INFO - 
[task 2021-06-16T21:16:38.883Z] 21:16:38     INFO - Console message: [JavaScript Error: "TypeError: this.docShell is null" {file: "resource://testing-common/ContentEventListenerChild.jsm" line: 147}]
[task 2021-06-16T21:16:38.883Z] 21:16:38     INFO - _updateContentEventListeners@resource://testing-common/ContentEventListenerChild.jsm:147:11
[task 2021-06-16T21:16:38.884Z] 21:16:38     INFO - handleEvent@resource://testing-common/ContentEventListenerChild.jsm:41:14
[task 2021-06-16T21:16:38.884Z] 21:16:38     INFO - 
[task 2021-06-16T21:16:38.885Z] 21:16:38     INFO - Console message: [JavaScript Error: "TypeError: this.docShell is null" {file: "resource://testing-common/ContentEventListenerChild.jsm" line: 147}]
[task 2021-06-16T21:16:38.885Z] 21:16:38     INFO - _updateContentEventListeners@resource://testing-common/ContentEventListenerChild.jsm:147:11
[task 2021-06-16T21:16:38.885Z] 21:16:38     INFO - handleEvent@resource://testing-common/ContentEventListenerChild.jsm:41:14
[task 2021-06-16T21:16:38.886Z] 21:16:38     INFO - 
[task 2021-06-16T21:16:38.886Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:privatebrowsing: uri loaded in detached tab - "about:privatebrowsing" == "about:privatebrowsing" - 
[task 2021-06-16T21:16:38.886Z] 21:16:38     INFO - Buffered messages finished
[task 2021-06-16T21:16:38.887Z] 21:16:38     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_bug495058.js | about:privatebrowsing: browser is focused - {} == [object XULFrameElement] - JS frame :: chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug495058.js :: <TOP_LEVEL> :: line 38
[task 2021-06-16T21:16:38.887Z] 21:16:38     INFO - Stack trace:
[task 2021-06-16T21:16:38.887Z] 21:16:38     INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug495058.js:null:38
[task 2021-06-16T21:16:38.888Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:privatebrowsing: urlbar is empty - "" == "" - 
[task 2021-06-16T21:16:38.888Z] 21:16:38     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:privatebrowsing: placeholder text is present - "Search with Google or enter address" == true - 
[task 2021-06-16T21:16:38.889Z] 21:16:38     INFO - Leaving test bound 
[task 2021-06-16T21:16:38.889Z] 21:16:38     INFO - GECKO(2540) | MEMORY STAT | vsize 2104432MB | vsizeMaxContiguous 66049578MB | residentFast 364MB | heapAllocated 252MB
[task 2021-06-16T21:16:38.890Z] 21:16:38     INFO - TEST-OK | browser/base/content/test/general/browser_bug495058.js | took 1803ms
[task 2021-06-16T21:16:38.890Z] 21:16:38     INFO - checking window state
```