Merge pull request #18404 from timvandermeij/fix-unit-intermittent
Fix the "caches image resources at the document/page level as expected (issue 11878)" unit test
This commit is contained in:
commit
145951df88
@ -4155,7 +4155,7 @@ Caron Broadcasting, Inc., an Ohio corporation (“Lessee”).`)
|
|||||||
checkedCopyLocalImage = true;
|
checkedCopyLocalImage = true;
|
||||||
// Ensure that the image was copied in the main-thread, rather
|
// Ensure that the image was copied in the main-thread, rather
|
||||||
// than being re-parsed in the worker-thread (which is slower).
|
// than being re-parsed in the worker-thread (which is slower).
|
||||||
expect(statsOverall).toBeLessThan(firstStatsOverall / 4);
|
expect(statsOverall).toBeLessThan(firstStatsOverall / 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user