Bug: Perma Late Beta macOS 11 TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | Test timed out - when Gecko 111 switches to Late Beta 2023-02-24
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2023-01-31 17:54:20+00:00
Resolved: 2023-02-17 00:09:36+00:00

- [Central-as-beta simulation.](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=usercancel%2Cretry%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&revision=a83c7c68e54553b4bd95e1170f5def39889ea045&selectedTaskRun=DUpH_biDRZu88WUsY9AJQA.0) 
- [How to run these simulations.](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log:](https://treeherder.mozilla.org/logviewer?job_id=404095333&repo=try&lineNumber=2393)
```
[task 2023-01-31T17:02:36.650Z] 17:02:36     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | New tab should have page url, not about:neterror - 
[task 2023-01-31T17:02:36.650Z] 17:02:36     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {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 2023-01-31T17:02:36.650Z] 17:02:36     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2023-01-31T17:02:36.651Z] 17:02:36     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/" line: 0}]
[task 2023-01-31T17:02:36.651Z] 17:02:36     INFO - open frame in tab for http://127.0.0.1:55555/
[task 2023-01-31T17:02:36.651Z] 17:02:36     INFO - Console message: [JavaScript Error: "TypeError: doc is null" {file: "resource:///actors/ContextMenuChild.sys.mjs" line: 566}]
[task 2023-01-31T17:02:36.651Z] 17:02:36     INFO - Buffered messages finished
[task 2023-01-31T17:02:36.651Z] 17:02:36     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | Test timed out - 
[task 2023-01-31T17:02:36.651Z] 17:02:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-31T17:02:36.651Z] 17:02:36     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | Uncaught exception received from previously timed out test - popupshown listener on #contentAreaContextMenu not removed before the end of test
[task 2023-01-31T17:02:36.651Z] 17:02:36     INFO - Entering test bound testOpenFrameInWindow
[task 2023-01-31T17:02:36.652Z] 17:02:36     INFO - GECKO(3893) | Waiting for browser load
[task 2023-01-31T17:02:36.652Z] 17:02:36     INFO - GECKO(3893) | Waiting for browser state change
[task 2023-01-31T17:02:36.652Z] 17:02:36     INFO - GECKO(3893) | Saw state f0001 and status 0
[task 2023-01-31T17:02:36.652Z] 17:02:36     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {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 2023-01-31T17:02:36.652Z] 17:02:36     INFO - GECKO(3893) | Saw state f0001 and status 0
[task 2023-01-31T17:02:36.652Z] 17:02:36     INFO - GECKO(3893) | Saw state c0010 and status 804b000d
[task 2023-01-31T17:02:36.652Z] 17:02:36     INFO - GECKO(3893) | Saw state f0001 and status 0
[task 2023-01-31T17:02:36.652Z] 17:02:36     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2023-01-31T17:02:36.653Z] 17:02:36     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/" line: 0}]
[task 2023-01-31T17:02:36.653Z] 17:02:36     INFO - GECKO(3893) | Saw state c0010 and status 0
[task 2023-01-31T17:02:36.653Z] 17:02:36     INFO - GECKO(3893) | Saw state c0010 and status 0
[task 2023-01-31T17:02:36.653Z] 17:02:36     INFO - GECKO(3893) | 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 2023-01-31T17:02:36.834Z] 17:02:36     INFO - open frame in window for http://example.com/
[task 2023-01-31T17:02:36.982Z] 17:02:36     INFO - GECKO(3893) | 1675184556981	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-01-31T17:02:36.994Z] 17:02:36     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/" line: 0}]
[task 2023-01-31T17:02:36.995Z] 17:02:36     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu_badiframe.js | New window should have page url, not about:neterror - 
```