Revision 86455a624bb05eb7503ccbe340dca973f5dea4c8 authored by Mike Pennisi on 29 June 2018, 23:46:14 UTC, committed by Ms2ger on 02 July 2018, 14:25:31 UTC
Today, the return value of functions provided to the `Test#add_cleanup`
function has no effect on the behavior of the test runner. Despite this,
some existing tests have already been authored to return the `null`
value.

An upcoming feature addition to testharness.js will cause the return
value to influence test results [1]. To allow the new test harness
feature to land without introducing harness errors, refactor existing
tests to omit a return value.

[1] https://github.com/web-platform-tests/wpt/issues/6075
1 parent 27406c9
History
File Mode Size
resources
META.yml -rw-r--r-- 48 bytes
basetest.html -rw-r--r-- 1.5 KB
child-painting-first-image.html -rw-r--r-- 1003 bytes
first-contentful-bg-image.html -rw-r--r-- 1.4 KB
first-contentful-canvas.html -rw-r--r-- 1.3 KB
first-contentful-image.html -rw-r--r-- 1.4 KB
first-contentful-paint.html -rw-r--r-- 2.7 KB
first-contentful-svg.html -rw-r--r-- 1.3 KB
first-image-child.html -rw-r--r-- 1.8 KB
first-paint-bg-color.html -rw-r--r-- 1019 bytes
first-paint-only.html -rw-r--r-- 1.2 KB
paint-visited.html -rw-r--r-- 1.7 KB
sibling-painting-first-image.html -rw-r--r-- 1.6 KB

back to top