Bug: Perma browser/base/content/test/performance/browser_appmenu.js | unexpected changed rect: ({x1:12, x2:27, y1:14, y2:29, w:16, h:16}), window width: 1280 - when Gecko 112 merges to Beta on 2023-03-13
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2023-02-24 13:35:21+00:00
Resolved: 2023-03-11 13:04:13+00:00

[Central-as-beta simulation](https://treeherder.mozilla.org/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Crunning%2Cpending%2Crunnable&test_paths=browser%2Fbase%2Fcontent%2Ftest%2Fperformance%2Fbrowser.ini&revision=513bce0bae23bb490c8bca5c8fb0d79ae041d32b&selectedTaskRun=W3SRMDj0Sc-f7tCDQeTzRQ.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=406519588&repo=try&lineNumber=3051)

```
[task 2023-02-22T13:01:42.975Z] 13:01:42     INFO - TEST-START | browser/base/content/test/performance/browser_appmenu.js
[task 2023-02-22T13:01:45.049Z] 13:01:45     INFO - TEST-INFO | started process screentopng
[task 2023-02-22T13:01:45.240Z] 13:01:45     INFO - TEST-INFO | screentopng: exit 0
[task 2023-02-22T13:01:45.241Z] 13:01:45     INFO - Buffered messages logged at 13:01:43
[task 2023-02-22T13:01:45.242Z] 13:01:45     INFO - Entering test bound 
[task 2023-02-22T13:01:45.243Z] 13:01:45     INFO - TEST-PASS | browser/base/content/test/performance/browser_appmenu.js | The panel is closed to begin with. - "closed" == "closed" - 
[task 2023-02-22T13:01:45.243Z] 13:01:45     INFO - Buffered messages logged at 13:01:44
[task 2023-02-22T13:01:45.243Z] 13:01:45     INFO - TEST-FAIL | browser/base/content/test/performance/browser_appmenu.js | known reflow at openPopup/this._openPopupPromise<@resource:///modules/PanelMultiView.jsm was encountered 1 times - 
[task 2023-02-22T13:01:45.244Z] 13:01:45     INFO - Full stack:
[task 2023-02-22T13:01:45.244Z] 13:01:45     INFO -   openPopup/this._openPopupPromise<@resource:///modules/PanelMultiView.jsm:565:21
[task 2023-02-22T13:01:45.244Z] 13:01:45     INFO -   
[task 2023-02-22T13:01:45.244Z] 13:01:45     INFO - TEST-FAIL | browser/base/content/test/performance/browser_appmenu.js | known reflow at _calculateMaxHeight@resource:///modules/PanelMultiView.jsm was encountered 3 times - 
[task 2023-02-22T13:01:45.245Z] 13:01:45     INFO - Full stack:
[task 2023-02-22T13:01:45.245Z] 13:01:45     INFO -   _calculateMaxHeight@resource:///modules/PanelMultiView.jsm:1174:29
[task 2023-02-22T13:01:45.245Z] 13:01:45     INFO -   handleEvent@resource:///modules/PanelMultiView.jsm:1251:32
[task 2023-02-22T13:01:45.245Z] 13:01:45     INFO -   
[task 2023-02-22T13:01:45.246Z] 13:01:45     INFO - Full stack:
[task 2023-02-22T13:01:45.246Z] 13:01:45     INFO -   _calculateMaxHeight@resource:///modules/PanelMultiView.jsm:1175:18
[task 2023-02-22T13:01:45.246Z] 13:01:45     INFO -   handleEvent@resource:///modules/PanelMultiView.jsm:1251:32
[task 2023-02-22T13:01:45.246Z] 13:01:45     INFO -   
[task 2023-02-22T13:01:45.247Z] 13:01:45     INFO - Full stack:
[task 2023-02-22T13:01:45.247Z] 13:01:45     INFO -   _calculateMaxHeight@resource:///modules/PanelMultiView.jsm:1190:32
[task 2023-02-22T13:01:45.248Z] 13:01:45     INFO -   handleEvent@resource:///modules/PanelMultiView.jsm:1251:32
[task 2023-02-22T13:01:45.248Z] 13:01:45     INFO -   
[task 2023-02-22T13:01:45.249Z] 13:01:45     INFO - TEST-PASS | browser/base/content/test/performance/browser_appmenu.js | 0 unexpected reflows - true == true - 
[task 2023-02-22T13:01:45.249Z] 13:01:45     INFO - comparing 2 frames
[task 2023-02-22T13:01:45.250Z] 13:01:45     INFO - Buffered messages finished
[task 2023-02-22T13:01:45.251Z] 13:01:45     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_appmenu.js | unexpected changed rect: ({x1:12, x2:27, y1:14, y2:29, w:16, h:16}), window width: 1280 - 
[task 2023-02-22T13:01:45.251Z] 13:01:45     INFO - Stack trace:
[task 2023-02-22T13:01:45.251Z] 13:01:45     INFO - chrome://mochikit/content/browser-test.js:test_ok:1465
[task 2023-02-22T13:01:45.251Z] 13:01:45     INFO - chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:reportUnexpectedFlicker/rects<:638
[task 2023-02-22T13:01:45.251Z] 13:01:45     INFO - chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:reportUnexpectedFlicker:629
[task 2023-02-22T13:01:45.251Z] 13:01:45     INFO - chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:withPerfObserver:698
[task 2023-02-22T13:01:45.494Z] 13:01:45     INFO - data:image/png;base64,iVBORw0KGg
[task 2023-02-22T13:01:45.870Z] 13:01:45     INFO - data:image/png;base64,iVBORw0KGg
[task 2023-02-22T13:01:45.872Z] 13:01:45     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-02-22T13:01:45.872Z] 13:01:45     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_appmenu.js | should have 0 unknown flickering areas - "Got 1, expected +0"
[task 2023-02-22T13:01:45.872Z] 13:01:45     INFO - Stack trace:
[task 2023-02-22T13:01:45.873Z] 13:01:45     INFO - chrome://mochikit/content/browser-test.js:test_is:1493
[task 2023-02-22T13:01:45.873Z] 13:01:45     INFO - chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:reportUnexpectedFlicker:655
[task 2023-02-22T13:01:45.874Z] 13:01:45     INFO - chrome://mochitests/content/browser/browser/base/content/test/performance/head.js:withPerfObserver:698
[task 2023-02-22T13:01:46.060Z] 13:01:46     INFO - Click appMenu-bookmarks-button
[task 2023-02-22T13:01:50.839Z] 13:01:50     INFO - Shown PanelUI-bookmarks
[task 2023-02-22T13:01:52.848Z] 13:01:52     INFO - Click appMenu-history-button
[task 2023-02-22T13:01:55.668Z] 13:01:55     INFO - Shown PanelUI-history
[task 2023-02-22T13:01:57.588Z] 13:01:57     INFO - Click appMenu-more-button2
[task 2023-02-22T13:02:00.382Z] 13:02:00     INFO - Shown appmenu-moreTools
[task 2023-02-22T13:02:02.166Z] 13:02:02     INFO - Click appMenu-help-button2
[task 2023-02-22T13:02:04.780Z] 13:02:04     INFO - Shown PanelUI-helpView
[task 2023-02-22T13:02:06.862Z] 13:02:06     INFO - TEST-PASS | browser/base/content/test/performance/browser_appmenu.js | The panel is open to begin with. - true == true - 
[task 2023-02-22T13:02:06.920Z] 13:02:06     INFO - TEST-PASS | browser/base/content/test/performance/browser_appmenu.js | 0 unexpected reflows - true == true - 
[task 2023-02-22T13:02:06.921Z] 13:02:06     INFO - comparing 1 frames
[task 2023-02-22T13:02:06.923Z] 13:02:06     INFO - TEST-PASS | browser/base/content/test/performance/browser_appmenu.js | should have 0 unknown flickering areas - 
[task 2023-02-22T13:02:06.924Z] 13:02:06     INFO - Leaving test bound 
[task 2023-02-22T13:02:07.139Z] 13:02:07     INFO - GECKO(4025) | ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
[task 2023-02-22T13:02:07.209Z] 13:02:07     INFO - GECKO(4025) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2023-02-22T13:02:07.211Z] 13:02:07     INFO - GECKO(4025) | MEMORY STAT heapAllocated not supported in this build configuration.
[task 2023-02-22T13:02:07.211Z] 13:02:07     INFO - GECKO(4025) | MEMORY STAT | vsize 130551639MB | residentFast 2048MB
[task 2023-02-22T13:02:07.212Z] 13:02:07     INFO - TEST-OK | browser/base/content/test/performance/browser_appmenu.js | took 24236ms
[task 2023-02-22T13:02:07.301Z] 13:02:07     INFO - checking window state
[task 2023-02-22T13:02:07.447Z] 13:02:07     INFO - TEST-START | browser/base/content/test/performance/browser_panel_vsync.js
```
Hi Emilio, this seems to be a similar failure to Bug 1818230. Could it be caused by the same underlying issue (Bug 1815229)? Could you take a look please? Thank you!