mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +00:00
Bug 1226864 - Don't wait for an APZ flush on load-only or script type reftests, since they don't get snapshotted. r=dbaron
--HG-- extra : commitid : E9G7TUheJ8A
This commit is contained in:
parent
607c52ca89
commit
5b361ff365
@ -565,7 +565,9 @@ function WaitForTestEnd(contentRootElement, inPrintMode, spellCheckedElements) {
|
||||
};
|
||||
os.addObserver(flushWaiter, "apz-repaints-flushed", false);
|
||||
|
||||
if (windowUtils().flushApzRepaints()) {
|
||||
var willSnapshot = (gCurrentTestType != TYPE_SCRIPT) &&
|
||||
(gCurrentTestType != TYPE_LOAD);
|
||||
if (willSnapshot && windowUtils().flushApzRepaints()) {
|
||||
LogInfo("MakeProgress: done requesting APZ flush");
|
||||
} else {
|
||||
LogInfo("MakeProgress: APZ flush not required");
|
||||
|
Loading…
x
Reference in New Issue
Block a user