DescriptionSupport reftest-wait in web-platform-tests
The web-platform-tests (wpt) suite allows tests to control when the screenshot is
taken for reftests, based on the presence (and then absence) of a 'reftest-wait'
class on the root element.
To support this mechanism a JavaScript shim is inserted into wpt tests, which uses
existing TestRunner methods (waitUntilDone, notifyDone), combined with a
MutationObserver on the root element.
BUG=698256
Review-Url: https://codereview.chromium.org/2729863004
Cr-Commit-Position: refs/heads/master@{#455009}
Committed: https://chromium.googlesource.com/chromium/src/+/255d25e6d389106b75c90110b4e00b022e472cc5
Patch Set 1 #Patch Set 2 : Add comment, change to string literal, attempt to add LayoutTest #Patch Set 3 : Fix LayoutTest #Patch Set 4 : Whitespace fixing #
Total comments: 6
Patch Set 5 : Address reviewer comments #Patch Set 6 : Fix javascript for case where there is no documentElement #Patch Set 7 : Add TestExpectations entry #
Messages
Total messages: 27 (13 generated)
|