DescriptionFix lazy test result printing.
Previously, description() and isSuccessfullyParsed() would add their
results to the top of the document immediately, even if
setPrintTestResultsLazily() was used. This caused problems for
async tests that relied on precise document offset measurements
(such as the IntersectionObserver tests).
With this change, setPrintTestResultsLazily() will cause *all* test
output to be delayed until finishJSTest().
BUG=540528
R=ojan@chromium.org,esprehn@chromium.org
Committed: https://crrev.com/34c8bfd59f4d8943df2620620cd00ae1d0fc1999
Cr-Commit-Position: refs/heads/master@{#372902}
Patch Set 1 #Messages
Total messages: 7 (2 generated)
|