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-- 50 bytes
idlharness.https.html -rw-r--r-- 930 bytes
share-cancel-manual.html -rw-r--r-- 739 bytes
share-empty.https.html -rw-r--r-- 1.2 KB
share-extra-argument-manual.html -rw-r--r-- 670 bytes
share-extra-field-manual.html -rw-r--r-- 674 bytes
share-non-string-manual.html -rw-r--r-- 808 bytes
share-null-manual.html -rw-r--r-- 762 bytes
share-securecontext.http.html -rw-r--r-- 477 bytes
share-simple-manual.html -rw-r--r-- 1.0 KB
share-unicode-strings-manual.html -rw-r--r-- 1001 bytes
share-unicode-strings-nonutf8-manual.html -rw-r--r-- 1.1 KB
share-url-data-manual.html -rw-r--r-- 560 bytes
share-url-empty-manual.html -rw-r--r-- 530 bytes
share-url-encoding-manual.html -rw-r--r-- 868 bytes
share-url-invalid.https.html -rw-r--r-- 610 bytes
share-url-noscheme-manual.html -rw-r--r-- 616 bytes
share-url-pathonly-manual.html -rw-r--r-- 601 bytes
share-url-relative-manual.html -rw-r--r-- 616 bytes
share-without-user-gesture.https.html -rw-r--r-- 573 bytes

back to top