Open
Bug 2086769
Opened 29 days ago
[meta] Fix the failures uncovered by removing the standalone skip-if annotations
Categories
(Testing :: Mochitest, task)
Testing
Mochitest
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: florian, Assigned: florian)
References
(Depends on 2 open bugs, Blocks 2 open bugs)
Details
(Keywords: meta)
Running mochitests in the standalone variants (a fresh browser restarted between tests, added in bug 2010766 for browser-chrome, bug 2026589 for devtools chrome and bug 2026600 for plain and chrome) exposed failures that skip-if annotations were hiding: tests depending on state left by earlier tests, races in tests, and a few product bugs. These patches fix them and remove the matching skip-ifs, which are mostly the ones bug 2026600 added.
Test-only fixes
toolkit/components/aboutmemory/tests/test_memoryReporters2.xhtml(bug 1932027): the test checked whether the RDD process was running before its own content processes launched it. It now checks right beforegetReports().devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_addons_temporary_install_path.js(bug 1882642): the test never calledMockFilePicker.cleanup(), so the callback kept the about:debugging window alive until shutdown. It now cleans up, which removes the skip-if of bug 2026756.toolkit/content/tests/widgets/test_videocontrols_audio_direction.htmlandtoolkit/content/tests/widgets/test_videocontrols_video_direction.html(bug 1920615): the snapshot was taken before the controls' CSS background icons were decoded in a fresh process. The tests now wait for the icons, which also covers bug 1920614.dom/base/test/test_find.html(bug 2011552): the test waited one animation frame for the<details>reveal, which is dispatched as a separate task. It now waits for thetoggleevent.dom/tests/mochitest/localstorage/test_bug746272.html(bug 962029):test_bug746272-2.htmlread localStorage items written bytest_bug746272-1.html. The two tests are merged into this one self-contained test.layout/style/test/test_viewport_scrollbar_causing_reflow.html(bug 2086751): when run alone the frame has real scrollbars, which add reflows the limits never accounted for. The test now hides the viewport scrollbars.widget/tests/test_bug517396.xhtml(bug 2086752): new profiles open maximized on small Windows screens, so the test recorded the maximized size as the normal one. The test now restores the window first.dom/events/test/test_bug443985.html(bug 2026600): the test required apageXabove 3000, which a wide test frame cannot reach, and compared a fractional scroll position exactly. It now checkspageXandpageYagainst the scroll position with a 1px tolerance.devtools/client/responsive/test/browser/browser_viewport_changed_meta.js(bug 2028517):setViewportSizeresolved before the content had its new size, so a reload could paint at the old width. It now waits for the content to be resized.toolkit/content/tests/widgets/test_popupanchor.xhtml(bug 2086753): in single-test mode the chrome mochitest frame ended 30px below the window, clamping popups. The harness CSS now keeps the frame inside the window.layout/generic/test/test_bug632379.xhtml(bug 2086755): themaxheightattribute had been ignored since bug 1824489, so the menu never scrolled and the layout bug fixed below stayed hidden. The test scrolls its menu again.gfx/layers/apz/test/mochitest/test_layerization.html(bug 2086756): the displayport check ignored the clipping of nested scrollers by their ancestors, and only passed in smaller windows by accident. It now compares against the visible height.
Product fixes
browser/components/tabbrowser/test/browser/tabs/browser_tab_manager_groups.js(bug 1938697): unnamed tab groups got their default label only after an async Fluent lookup, so the first panel opening could show a blank row. The label is now set synchronously, which removes the skip-if of bug 2028649.layout/generic/test/test_bug632379.xhtml(bug 2086755): popups were positioned during reflow, but post-reflow work could still move their anchor, leaving a submenu off its menu.PresShell::DidDoReflownow repositions popups that are still opening.editor/libeditor/tests/test_bug1659276.html(bug 2086758): since bug 2006040,window.find()scrolled to its match in a later task, overriding a page'sscroll(0,0). It now scrolls synchronously unless ancestors need revealing.dom/base/test/fullscreen/test_fullscreen.xhtml(bug 2086760): a window entering fullscreen before its first paint hitTryDwmResizeHackwith no renderer and crashed. The hack now returns early in that case.layout/forms/test/test_bug562447.html(bug 2086762): the async selection scroll queued by focusing a text control still ran after blur and an explicitscrollTo(0,0). It no longer scrolls the page once the control has lost focus.
You need to log in
before you can comment on or make changes to this bug.
Description
•