gecko-dev/docshell/test/chrome
Daniel Holbert f86b6c2086 Bug 1052471: Adjust test_bug453650.xhtml to perform its reflow-causing restyle a bit later, *after* the reflow observer is registered. r=jfkthame
I'm hoping this fixes (or at least helps with) this intermittent test failure
(an intermittent test-timeout).

Before this patch, the test did the following: it made a layout-impacting
restyle, and then it registered a reflow observer, and then it waited for the
previously-performed restyle to be flushed, which it then expects to cause a
reflow and trigger the reflow observer.

When the test times out and intermittently fails, it seems that the reflow
observer is successfully registered but never fires. I'm guessing that's
because the reflow is getting flushed eagerly for some reason, and happens
*before* the reflow observer is registered.  We can avoid this problem by
holding off on the restyle until after the reflow observer has been registered;
that's the approach that this patch takes.

(Note that this reflow-observer API isn't web-exposed; it's an internal API that
we use to report reflows in our devtools.)

Differential Revision: https://phabricator.services.mozilla.com/D100517
2021-01-04 19:04:40 +00:00
..
89419.html
92598_nostore.html
92598_nostore.html^headers^
112564_nocache.html
112564_nocache.html^headers^
215405_nocache.html
215405_nocache.html^headers^
215405_nostore.html
215405_nostore.html^headers^
582176_dummy.html
582176_xml.xml
582176_xslt.xsl
662200a.html
662200b.html
662200c.html
allowContentRetargeting.sjs
blue.png
bug89419_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug89419.sjs
bug92598_window.xhtml Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv 2020-09-28 12:01:12 +00:00
bug112564_window.xhtml Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv 2020-09-28 12:01:12 +00:00
bug113934_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug215405_window.xhtml Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv 2020-09-28 12:01:12 +00:00
bug293235_p2.html
bug293235_window.xhtml Bug 1595483 - Remove visited-status-resolution waiting from bug293235_window.xhtml. r=mak 2020-11-20 16:13:56 +00:00
bug293235.html
bug294258_testcase.html
bug294258_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug298622_window.xhtml Bug 1610141, findbar should only apply to the main browsers and tests, r=mikedeboer 2020-03-30 15:10:52 +00:00
bug301397_1.html
bug301397_2.html
bug301397_3.html
bug301397_4.html
bug301397_window.xhtml Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs 2020-06-09 14:51:06 +00:00
bug303267_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug303267.html
bug311007_window.xhtml Bug 1644943 - Create single webprogress for CanonicalBrowsingContext, regardless of process the browser element contents are in. r=nika,kmag,Gijs 2020-06-17 02:59:29 +00:00
bug321671_window.xhtml Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs 2020-06-09 14:51:06 +00:00
bug360511_case1.html
bug360511_case2.html
bug360511_window.xhtml Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs 2020-06-09 14:51:06 +00:00
bug364461_window.xhtml Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs 2020-06-09 14:51:06 +00:00
bug396519_window.xhtml Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv 2020-09-28 12:01:12 +00:00
bug396649_window.xhtml Bug 1515073 - Part 5 - Disable browser.navigation.requireUserInteraction in tests. r=Gijs 2020-06-09 14:51:06 +00:00
bug449778_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug449780_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug454235-subframe.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug582176_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug608669.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug662200_window.xhtml Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv 2020-09-28 12:01:12 +00:00
bug690056_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
bug846906.html
bug909218.html
bug909218.js
chrome.ini Bug 1552168: Remove pref security.data_uri.unique_opaque_origin. r=smaug 2020-10-08 16:55:25 +00:00
docshell_helpers.js Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv 2020-09-28 12:01:12 +00:00
file_viewsource_forbidden_in_iframe.html
gen_template.pl Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
generic.html
mozFrameType_window.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
red.png
test_allowContentRetargeting.html
test_bug89419.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug92598.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug112564.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug113934.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug215405.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug293235.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug294258.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug298622.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug301397.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug303267.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug311007.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug321671.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug360511.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug364461.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug396519.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug396649.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug428288.html
test_bug449778.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug449780.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug453650.xhtml Bug 1052471: Adjust test_bug453650.xhtml to perform its reflow-causing restyle a bit later, *after* the reflow observer is registered. r=jfkthame 2021-01-04 19:04:40 +00:00
test_bug454235.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug456980.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug565388.xhtml Bug 1552168: Remove pref security.data_uri.unique_opaque_origin. r=smaug 2020-10-08 16:55:25 +00:00
test_bug582176.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug608669.xhtml Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
test_bug662200.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug690056.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug789773.xhtml Bug 1607092 - Add new quote from Book of Mozilla for GeckoView r=geckoview-reviewers,Pike,agi 2020-07-07 02:22:07 +00:00
test_bug846906.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_bug909218.html Bug 1654684 - Move chevron.svg to toolkit. r=remote-protocol-reviewers,desktop-theme-reviewers,ntim 2020-12-09 20:49:25 +00:00
test_docRedirect.sjs
test_docRedirect.xhtml Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi 2020-05-05 17:41:36 +00:00
test_mozFrameType.xhtml Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00
test_viewsource_forbidden_in_iframe.xhtml Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
test.template.txt
window.template.txt Bug 1596328, rename .xul test files in docshell/ to .xhtml r=bzbarsky 2019-11-15 16:42:21 +00:00