Bug: Perma Late beta browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js | 3 == 8 - {"filename":"chrome://mochitests/content/browser/browser/components/screenshots/tests/ when Gecko 112 switches to Late Beta on 2023-03-24
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-02-28 13:07:43+00:00
Resolved: 2023-03-10 14:05:53+00:00

[Tracking Requested - why for this release]:

* [Central-as-beta-simulation](https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=fa0559801b8e57c830fae1a43a8ca306a7f4646a&test_paths=browser%2Fcomponents%2Fscreenshots%2Ftests%2Fbrowser&selectedTaskRun=Duh7TbkqSJ-KZtNK4pY5IQ.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=407258910&repo=try&lineNumber=23186)

```
task 2023-02-28T11:50:47.507Z] 11:50:47     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js | Panel buttons are hidden - 
[task 2023-02-28T11:50:47.507Z] 11:50:47     INFO - Is overlay initialized: false
[task 2023-02-28T11:50:47.508Z] 11:50:47     INFO - Overlay is not visible
[task 2023-02-28T11:50:47.509Z] 11:50:47     INFO - Buffered messages finished
[task 2023-02-28T11:50:47.510Z] 11:50:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js | 3 == 8 - {"filename":"chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js","name":"test_started_and_canceled_events/<","sourceId":648,"lineNumber":114,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"test_started_and_canceled_events/<@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js:114:14\n","nativeSavedFrame":{}}
[task 2023-02-28T11:50:47.510Z] 11:50:47     INFO - Stack trace:
[task 2023-02-28T11:50:47.510Z] 11:50:47     INFO - chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js:test_started_and_canceled_events/<:114
[task 2023-02-28T11:50:47.511Z] 11:50:47     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-02-28T11:50:47.513Z] 11:50:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js | "Places" == "quickactions" - {"filename":"chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js","name":"test_started_and_canceled_events/<","sourceId":648,"lineNumber":115,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"test_started_and_canceled_events/<@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js:115:14\n","nativeSavedFrame":{}}
[task 2023-02-28T11:50:47.513Z] 11:50:47     INFO - Stack trace:
[task 2023-02-28T11:50:47.514Z] 11:50:47     INFO - chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js:test_started_and_canceled_events/<:115
[task 2023-02-28T11:50:47.528Z] 11:50:47     INFO - Trigger the screenshot mode
[task 2023-02-28T11:50:47.529Z] 11:50:47     INFO - GECKO(5565) | [Child 6214: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fe3283a8800 == 2 [pid = 6214] [id = 1]
[task 2023-02-28T11:50:47.531Z] 11:50:47     INFO - GECKO(5565) | [Child 6214: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7fe328363090) [pid = 6214] [serial = 4] [outer = 0]
[task 2023-02-28T11:50:47.532Z] 11:50:47     INFO - GECKO(5565) | [Child 6214: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7fe3283a8c00) [pid = 6214] [serial = 5] [outer = 7fe328363090]
[task 2023-02-28T11:50:47.534Z] 11:50:47     INFO - GECKO(5565) | [Child 6214: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7fe3283a9000) [pid = 6214] [serial = 6] [outer = 7fe328363090]
[task 2023-02-28T11:50:47.943Z] 11:50:47     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f2e24f1d800 == 2 [pid = 5660] [id = 3] [url = about:blank]
[task 2023-02-28T11:50:47.945Z] 11:50:47     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f2e24f1a400 == 1 [pid = 5660] [id = 2] [url = about:blank]
[task 2023-02-28T11:50:47.946Z] 11:50:47     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f2e24f1c400 == 0 [pid = 5660] [id = 1] [url = about:blank]
[task 2023-02-28T11:50:47.961Z] 11:50:47     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f2e24f08470) [pid = 5660] [serial = 7] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:47.962Z] 11:50:47     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f2e24f08090) [pid = 5660] [serial = 5] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:47.963Z] 11:50:47     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f2e24f08c30) [pid = 5660] [serial = 9] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:48.188Z] 11:50:48     INFO - GECKO(5565) | [Child 5720: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fc44002dc00 == 2 [pid = 5720] [id = 2] [url = about:blank]
[task 2023-02-28T11:50:48.190Z] 11:50:48     INFO - GECKO(5565) | [Child 5720: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7fc44002a800 == 1 [pid = 5720] [id = 1] [url = about:blank]
[task 2023-02-28T11:50:48.226Z] 11:50:48     INFO - GECKO(5565) | [Child 5720: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7fc445288850) [pid = 5720] [serial = 5] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:48.229Z] 11:50:48     INFO - GECKO(5565) | [Child 5720: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7fc445288470) [pid = 5720] [serial = 3] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:52.019Z] 11:50:52     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f2e24f1dc00) [pid = 5660] [serial = 10] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:52.020Z] 11:50:52     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f2e24f1c800) [pid = 5660] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:52.021Z] 11:50:52     INFO - GECKO(5565) | [Child 5660: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f2e24f1ac00) [pid = 5660] [serial = 8] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:52.413Z] 11:50:52     INFO - GECKO(5565) | [Child 5720: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7fc44002cc00) [pid = 5720] [serial = 4] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:52.415Z] 11:50:52     INFO - GECKO(5565) | [Child 5720: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fc44002e000) [pid = 5720] [serial = 6] [outer = 0] [url = about:blank]
[task 2023-02-28T11:50:53.036Z] 11:50:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-02-28T11:50:53.036Z] 11:50:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_telemetry_tests.js | Uncaught exception in test bound test_started_and_canceled_events - "undefined - timed out after 50 tries."
[task 2023-02-28T11:50:53.038Z] 11:50:53     INFO - Leaving test bound test_started_and_canceled_events
[task 2023-02-28T11:50:53.045Z] 11:50:53     INFO - Entering test bound test_started_retry

```