mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00: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
79c1dfbc4f
commit
41b3c0a541
@ -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