mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 992324 patch 2 - Disable interruptible reflow in reftest harness. r=bzbarsky
Without this patch, mInterruptsEnabled is frequently (although not always) initialized to true in nsPresContext::ReflowStarted while running reftests; with the patch it is always initialized to false.
This commit is contained in:
parent
7a9f2069eb
commit
041db41077
@ -40,4 +40,11 @@
|
||||
// can't guarantee taking both reftest snapshots at the same point
|
||||
// during the fade.
|
||||
branch.setBoolPref("layout.testing.overlay-scrollbars.always-visible", true);
|
||||
|
||||
// Disable interruptible reflow since (1) it's normally not going to
|
||||
// happen, but (2) it might happen if we somehow end up with both
|
||||
// pending user events and clock skew. So to avoid having to change
|
||||
// MakeProgress to deal with waiting for interruptible reflows to
|
||||
// complete for a rare edge case, we just disable interruptible
|
||||
// reflow so that that rare edge case doesn't lead to reftest
|
||||
// failures.
|
||||
branch.setBoolPref("layout.interruptible-reflow.enabled", false);
|
||||
|
Loading…
Reference in New Issue
Block a user