Bug: Intermittent browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | Test timed out -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-07-09 14:12:15+00:00
Resolved: 2022-07-27 17:35:37+00:00

**Filed by:** abutkovits [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=344792187&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Cd7tVseKShSeT28TjZukNA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Cd7tVseKShSeT28TjZukNA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2021-07-09T12:35:03.976Z] 12:35:03     INFO - TEST-START | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js
[task 2021-07-09T12:35:03.987Z] 12:35:03     INFO - GECKO(11088) | Waiting for browser load
[task 2021-07-09T12:35:03.988Z] 12:35:03     INFO - GECKO(11088) | Waiting for browser state change
[task 2021-07-09T12:35:03.995Z] 12:35:03     INFO - GECKO(11088) | [Parent 10944, IPC I/O Parent] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:167
[task 2021-07-09T12:35:03.995Z] 12:35:03     INFO - GECKO(11088) | [Parent 10944, IPC I/O Parent] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:167
[task 2021-07-09T12:35:03.998Z] 12:35:03     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:04.054Z] 12:35:04     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:04.097Z] 12:35:04     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:05.041Z] 12:35:05     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:05.053Z] 12:35:05     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:05.054Z] 12:35:05     INFO - GECKO(11088) | Browser got expected state change data:text/html,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>
[task 2021-07-09T12:35:05.313Z] 12:35:05     INFO - GECKO(11088) | Waiting for browser load
[task 2021-07-09T12:35:05.314Z] 12:35:05     INFO - GECKO(11088) | Waiting for browser state change
[task 2021-07-09T12:35:05.368Z] 12:35:05     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:05.404Z] 12:35:05     INFO - GECKO(11088) | [Parent 10944, IPC I/O Parent] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:167
[task 2021-07-09T12:35:05.447Z] 12:35:05     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:05.499Z] 12:35:05     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:06.459Z] 12:35:06     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:06.467Z] 12:35:06     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:06.468Z] 12:35:06     INFO - GECKO(11088) | Browser got expected state change data:text/html,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>
[task 2021-07-09T12:35:07.784Z] 12:35:07     INFO - GECKO(11088) | Waiting for browser load
[task 2021-07-09T12:35:07.785Z] 12:35:07     INFO - GECKO(11088) | Waiting for browser state change
[task 2021-07-09T12:35:07.807Z] 12:35:07     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:07.885Z] 12:35:07     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:07.941Z] 12:35:07     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:08.869Z] 12:35:08     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:08.880Z] 12:35:08     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:08.881Z] 12:35:08     INFO - GECKO(11088) | Browser got expected state change data:text/html,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>
[task 2021-07-09T12:35:09.422Z] 12:35:09     INFO - GECKO(11088) | Waiting for browser load
[task 2021-07-09T12:35:09.423Z] 12:35:09     INFO - GECKO(11088) | Waiting for browser state change
[task 2021-07-09T12:35:09.449Z] 12:35:09     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:09.487Z] 12:35:09     INFO - GECKO(11088) | [Parent 10944, IPC I/O Parent] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:167
[task 2021-07-09T12:35:09.489Z] 12:35:09     INFO - GECKO(11088) | [Parent 10944, IPC I/O Parent] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:167
[task 2021-07-09T12:35:09.532Z] 12:35:09     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:09.585Z] 12:35:09     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:10.520Z] 12:35:10     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:10.531Z] 12:35:10     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:10.532Z] 12:35:10     INFO - GECKO(11088) | Browser got expected state change data:text/html,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>
[task 2021-07-09T12:35:12.073Z] 12:35:12     INFO - GECKO(11088) | Waiting for browser load
[task 2021-07-09T12:35:12.074Z] 12:35:12     INFO - GECKO(11088) | Waiting for browser state change
[task 2021-07-09T12:35:12.101Z] 12:35:12     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:12.141Z] 12:35:12     INFO - GECKO(11088) | [Parent 10944, IPC I/O Parent] WARNING: file /builds/worker/checkouts/gecko/ipc/chromium/src/base/process_util_win.cc:167
[task 2021-07-09T12:35:12.182Z] 12:35:12     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:12.240Z] 12:35:12     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:13.182Z] 12:35:13     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:13.191Z] 12:35:13     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:13.192Z] 12:35:13     INFO - GECKO(11088) | Browser got expected state change data:text/html,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>
[task 2021-07-09T12:35:13.711Z] 12:35:13     INFO - GECKO(11088) | Waiting for browser load
[task 2021-07-09T12:35:13.711Z] 12:35:13     INFO - GECKO(11088) | Waiting for browser state change
[task 2021-07-09T12:35:13.796Z] 12:35:13     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:13.855Z] 12:35:13     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:13.895Z] 12:35:13     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:14.897Z] 12:35:14     INFO - GECKO(11088) | Saw state f0001 and status 0
[task 2021-07-09T12:35:14.902Z] 12:35:14     INFO - GECKO(11088) | Saw state c0010 and status 0
[task 2021-07-09T12:35:14.902Z] 12:35:14     INFO - GECKO(11088) | Browser got expected state change data:text/html,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>
[task 2021-07-09T12:35:15.030Z] 12:35:15     INFO - GECKO(11088) | JavaScript error: resource:///actors/ContextMenuChild.jsm, line 540: TypeError: doc is null
[task 2021-07-09T12:35:49.013Z] 12:35:49     INFO - TEST-INFO | started process screenshot
[task 2021-07-09T12:35:49.076Z] 12:35:49     INFO - TEST-INFO | screenshot: exit 0
[task 2021-07-09T12:35:49.077Z] 12:35:49     INFO - Buffered messages logged at 12:35:03
[task 2021-07-09T12:35:49.077Z] 12:35:49     INFO - Entering test bound testOpenFrame
[task 2021-07-09T12:35:49.078Z] 12:35:49     INFO - Buffered messages logged at 12:35:04
[task 2021-07-09T12:35:49.078Z] 12:35:49     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,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>" line: 0}]
[task 2021-07-09T12:35:49.079Z] 12:35:49     INFO - Buffered messages logged at 12:35:05
[task 2021-07-09T12:35:49.079Z] 12:35:49     INFO - show only this frame for http://example.com/
[task 2021-07-09T12:35:49.080Z] 12:35:49     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | Should navigate to page url, not about:neterror - 
[task 2021-07-09T12:35:49.080Z] 12:35:49     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,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>" line: 0}]
[task 2021-07-09T12:35:49.081Z] 12:35:49     INFO - Buffered messages logged at 12:35:06
[task 2021-07-09T12:35:49.081Z] 12:35:49     INFO - show only this frame for http://127.0.0.1:55555/
[task 2021-07-09T12:35:49.081Z] 12:35:49     INFO - Buffered messages logged at 12:35:07
[task 2021-07-09T12:35:49.082Z] 12:35:49     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | Should navigate to page url, not about:neterror - 
[task 2021-07-09T12:35:49.082Z] 12:35:49     INFO - Leaving test bound testOpenFrame
[task 2021-07-09T12:35:49.083Z] 12:35:49     INFO - Entering test bound testOpenFrameInTab
[task 2021-07-09T12:35:49.084Z] 12:35:49     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,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>" line: 0}]
[task 2021-07-09T12:35:49.084Z] 12:35:49     INFO - Buffered messages logged at 12:35:09
[task 2021-07-09T12:35:49.084Z] 12:35:49     INFO - open frame in tab for http://example.com/
[task 2021-07-09T12:35:49.085Z] 12:35:49     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | New tab should have page url, not about:neterror - 
[task 2021-07-09T12:35:49.086Z] 12:35:49     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,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>" line: 0}]
[task 2021-07-09T12:35:49.086Z] 12:35:49     INFO - Buffered messages logged at 12:35:10
[task 2021-07-09T12:35:49.086Z] 12:35:49     INFO - open frame in tab for http://127.0.0.1:55555/
[task 2021-07-09T12:35:49.086Z] 12:35:49     INFO - Buffered messages logged at 12:35:12
[task 2021-07-09T12:35:49.087Z] 12:35:49     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | New tab should have page url, not about:neterror - 
[task 2021-07-09T12:35:49.087Z] 12:35:49     INFO - Leaving test bound testOpenFrameInTab
[task 2021-07-09T12:35:49.088Z] 12:35:49     INFO - Entering test bound testOpenFrameInWindow
[task 2021-07-09T12:35:49.089Z] 12:35:49     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,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>" line: 0}]
[task 2021-07-09T12:35:49.089Z] 12:35:49     INFO - Buffered messages logged at 12:35:13
[task 2021-07-09T12:35:49.089Z] 12:35:49     INFO - open frame in window for http://example.com/
[task 2021-07-09T12:35:49.090Z] 12:35:49     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | New window should have page url, not about:neterror - 
[task 2021-07-09T12:35:49.090Z] 12:35:49     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,<frameset cols="400,400"><frame src="http://example.com/"><frame src="http://127.0.0.1:55555/"></frameset>" line: 0}]
[task 2021-07-09T12:35:49.091Z] 12:35:49     INFO - Buffered messages logged at 12:35:15
[task 2021-07-09T12:35:49.091Z] 12:35:49     INFO - open frame in window for http://127.0.0.1:55555/
[task 2021-07-09T12:35:49.092Z] 12:35:49     INFO - Console message: [JavaScript Error: "TypeError: doc is null" {file: "resource:///actors/ContextMenuChild.jsm" line: 540}]
[task 2021-07-09T12:35:49.092Z] 12:35:49     INFO - handleEvent@resource:///actors/ContextMenuChild.jsm:540:9
[task 2021-07-09T12:35:49.092Z] 12:35:49     INFO - synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:574:32
[task 2021-07-09T12:35:49.092Z] 12:35:49     INFO - synthesizeMouse/<@resource://testing-common/BrowserTestUtilsChild.jsm:334:34
[task 2021-07-09T12:35:49.092Z] 12:35:49     INFO - wrapHandlingUserInput@resource://gre/modules/E10SUtils.jsm:924:7
[task 2021-07-09T12:35:49.092Z] 12:35:49     INFO - synthesizeMouse@resource://testing-common/BrowserTestUtilsChild.jsm:330:15
[task 2021-07-09T12:35:49.092Z] 12:35:49     INFO - receiveMessage@resource://testing-common/BrowserTestUtilsChild.jsm:149:21
[task 2021-07-09T12:35:49.092Z] 12:35:49     INFO - 
[task 2021-07-09T12:35:49.093Z] 12:35:49     INFO - Buffered messages finished
[task 2021-07-09T12:35:49.093Z] 12:35:49     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | Test timed out - 
[task 2021-07-09T12:35:49.094Z] 12:35:49     INFO - Not taking screenshot here: see the one that was previously logged
```