Bug: Perma TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_device_controls_menus.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true when Gecko 109 merges to Beta on 2022-12-12
Status: RESOLVED
Priority: --
Resolution: FIXED
Created: 2022-12-07 17:32:42+00:00
Resolved: 2022-12-10 14:01:49+00:00

[Tracking Requested - why for this release]:

[Central-as-beta simulation:](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=8b345349aa4497086bdfa340e1decee752250d62&selectedTaskRun=HXcS2ZCUSNiGSNkPMZ2AqQ.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=398904858&repo=try&lineNumber=3670)
```
[task 2022-12-07T13:52:43.784Z] 13:52:43     INFO - TEST-START | browser/base/content/test/webrtc/browser_device_controls_menus.js
[task 2022-12-07T13:52:43.857Z] 13:52:43     INFO - GECKO(1356) | TEST DEVICES: Using media devices:
[task 2022-12-07T13:52:43.857Z] 13:52:43     INFO - GECKO(1356) | audio:
[task 2022-12-07T13:52:43.858Z] 13:52:43     INFO - GECKO(1356) | video:
[task 2022-12-07T13:52:48.300Z] 13:52:48     INFO - GECKO(1356) | [Parent 4160: Socket Thread]: I/mtransport NrIceCtx(PC:{f53913b2-e1f8-49e9-ac5f-323a560ec712} 1670421163070000 (id=4 url=chrome://browser/content/browser.xhtml)): Destroy
[task 2022-12-07T13:52:48.301Z] 13:52:48     INFO - GECKO(1356) | [Parent 4160: Socket Thread]: I/mtransport NrIceCtx(PC:{b82bb5e0-7cfd-48f7-99e9-3af0acc2d7e0} 1670421159989000 (id=4 url=chrome://browser/content/browser.xhtml)): Destroy
[task 2022-12-07T13:52:49.625Z] 13:52:49     INFO - TEST-INFO | started process screenshot
[task 2022-12-07T13:52:49.682Z] 13:52:49     INFO - TEST-INFO | screenshot: exit 0
[task 2022-12-07T13:52:49.682Z] 13:52:49     INFO - Buffered messages logged at 13:52:43
[task 2022-12-07T13:52:49.682Z] 13:52:49     INFO - Entering test bound test_bug_1669801
[task 2022-12-07T13:52:49.682Z] 13:52:49     INFO - Buffered messages logged at 13:52:44
[task 2022-12-07T13:52:49.683Z] 13:52:49     INFO - requesting devices
[task 2022-12-07T13:52:49.683Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | webRTC-shareDevices notification shown - 
[task 2022-12-07T13:52:49.683Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | notification panel open - 
[task 2022-12-07T13:52:49.683Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | notification panel populated - 
[task 2022-12-07T13:52:49.684Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | Camera selector hidden - 
[task 2022-12-07T13:52:49.684Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | Microphone selector hidden - 
[task 2022-12-07T13:52:49.684Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | Speaker selector hidden - 
[task 2022-12-07T13:52:49.684Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | aria-describedby - 
[task 2022-12-07T13:52:49.685Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | screen selector visible - 
[task 2022-12-07T13:52:49.686Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | Should have found an appropriate display menuitem - {"renderedOnce":true,"_accelTextIsDerived":true,"_ignoreAccelTextChange":true,"_inheritedElements":{".menu-iconic-text":{"_lastFormattedAccessKey":null},".menu-text":null,".menu-iconic-highlightable-text":{"_lastFormattedAccessKey":null}},"initializedAttributeInheritance":true,"deviceId":"262498","mediaSource":"window","scary":true} == true - 
[task 2022-12-07T13:52:49.687Z] 13:52:49     INFO - closing the stream
[task 2022-12-07T13:52:49.688Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | WebRTC indicator hidden - 
[task 2022-12-07T13:52:49.688Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | camera global indicator as expected - 
[task 2022-12-07T13:52:49.689Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | microphone global indicator as expected - 
[task 2022-12-07T13:52:49.690Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | screen global indicator as expected - 
[task 2022-12-07T13:52:49.691Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | WebRTC menu should be hidden - 
[task 2022-12-07T13:52:49.691Z] 13:52:49     INFO - TEST-PASS | browser/base/content/test/webrtc/browser_device_controls_menus.js | popup WebRTC indicator hidden - 
[task 2022-12-07T13:52:49.692Z] 13:52:49     INFO - Leaving test bound test_bug_1669801
[task 2022-12-07T13:52:49.692Z] 13:52:49     INFO - Buffered messages finished
[task 2022-12-07T13:52:49.694Z] 13:52:49     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_device_controls_menus.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true - JS frame :: chrome://mochikit/content/browser-test.js :: ensureVsyncDisabled :: line 587
[task 2022-12-07T13:52:49.694Z] 13:52:49     INFO - Stack trace:
[task 2022-12-07T13:52:49.694Z] 13:52:49     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:587
[task 2022-12-07T13:52:49.694Z] 13:52:49     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-12-07T13:52:49.696Z] 13:52:49     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/webrtc/browser_device_controls_menus.js | vsync remained enabled at the end of the test. Is there an animation still running? Consider talking to the performance team for tips to solve this. - false == true - JS frame :: chrome://mochikit/content/browser-test.js :: ensureVsyncDisabled :: line 588
[task 2022-12-07T13:52:49.696Z] 13:52:49     INFO - Stack trace:
[task 2022-12-07T13:52:49.696Z] 13:52:49     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:588
[task 2022-12-07T13:52:49.696Z] 13:52:49     INFO - GECKO(1356) | MEMORY STAT | vsize 1066MB | vsizeMaxContiguous 480MB | residentFast 265MB | heapAllocated 290MB
[task 2022-12-07T13:52:49.696Z] 13:52:49     INFO - TEST-OK | browser/base/content/test/webrtc/browser_device_controls_menus.js | took 5852ms
[task 2022-12-07T13:52:49.697Z] 13:52:49     INFO - checking window state
[task 2022-12-07T13:52:49.697Z] 13:52:49     INFO - TEST-START | browser/base/content/test/webrtc/browser_devices_get_user_media.js
```