Investigate test failures for browser_tab_splitview_contextmenu.js on mac 10.15 builds
Categories
(Firefox :: Tabbed Browser: Split View, task, P3)
Tracking
()
People
(Reporter: kcochrane, Assigned: sthompson, NeedInfo)
References
Details
(Whiteboard: [fidefe-splitview])
Attachments
(1 obsolete file)
In bug 1986946, we added a new test for the tab context menu to create and unsplit split views. For some reason, the test is timing out only on mac 10.15 builds as the context menu never opens in some instances. We should investigate why that is so we can unskip the test on that platform.
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Its possible the changes in bug 1994212 might help here, or would at least be a base to start from.
Updated•10 months ago
|
| Assignee | ||
Comment 2•8 months ago
|
||
Updates MutationObserver arguments to ensure that the observers get called when the mutation condition holds.
This test was failing intermittently and caused an unrelated patch of mine (bug 2015874) to be backed out. I couldn't figure out why or whether my patch might be causing problems to this test. However, I was able to consistently reproduce this test's timeouts on Windows on firefox-main without any of my patches.
- MutationObserver monitors child elements using
childList, notchildren - The "remove split view from group" menu item is tricky because the l10n engine changes the
labelattribute from "Remove from Groups" to "Remove from Group" but there are two mutation observers: this test, and the menuitem itself. The menuitem has a mutation observer that reflectslabelattribute changes to its.menu-textchild's text content, but there is a risk that this test's mutation observer runs before the menuitem. In order to ensure that the test can always see changes to the textContent, it was not enough to just usecharacterDatabecause the text is updated on a child element. BothcharacterDataandsubtreeseemed to consistently pick up changes to the menuitem text.
Updated•8 months ago
|
Comment 5•8 months ago
|
||
Backed out for causing failures @browser_tab_splitview_contextmenu.js.
Comment 6•8 months ago
|
||
Comment on attachment 9547667 [details]
Bug 1994508 - fix intermittent browser_tab_splitview_contextmenu.js r=kcochrane
Revision D284736 was moved to bug 1996471. Setting attachment 9547667 [details] to obsolete.
Description
•