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:
L. David Baron 2014-04-09 21:47:58 -07:00
parent 7a9f2069eb
commit 041db41077

View File

@ -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);