You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apng/animated-png-timeout.html:7: setTimeout used; step_timeout should typically be used instead (SET TIMEOUT)
There was 1 error (SET TIMEOUT: 1)
You must fix all errors; for details on how to fix them, see
https://github.com/w3c/web-platform-tests/blob/master/docs/lint-tool.md
However, instead of fixing a particular error, it's sometimes
OK to add a line to the lint.whitelist file in the root of the
web-platform-tests directory to make the lint tool ignore it.
For example, to make the lint tool ignore all 'SET TIMEOUT'
errors in the apng/animated-png-timeout.html file,
you could add the following line to the lint.whitelist file.
SET TIMEOUT:apng/animated-png-timeout.html
However, step_timeout is a part of testharness.js and including that would be strange even if it did work. (Not tested.) I added the suggested line to lint.whitelist.
No, it can't be. But @jgraham's view was that it is worth linting for given the majority of tests are testharness.js tests, and we can't in general detect whether support files form part of a reftest or a testharness.js test. Except, like, this is a reftest and we can tell it is.
In #5543 the lint said:
However,
step_timeout
is a part of testharness.js and including that would be strange even if it did work. (Not tested.) I added the suggested line to lint.whitelist.@gsnedders @jgraham
The text was updated successfully, but these errors were encountered: