Fix WPT lint errors.

This commit is contained in:
Josh Matthews 2017-11-15 13:33:08 -05:00
parent c227604a2c
commit 35db26d1a9
3 changed files with 6 additions and 11 deletions

View file

@ -1,8 +0,0 @@
[long-expressions-should-not-crash.html]
type: testharness
expected:
if os == "linux": CRASH
if os == "mac": TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -14,7 +14,7 @@
var t = async_test();
function scheduleNextTest() {
setTimeout(runNextTest, 0);
t.step_timeout(runNextTest, 0);
}
function runNextTest() {
@ -28,9 +28,9 @@
}
function verify(actual, expected, desc) {
setTimeout(t.step_func(function() {
t.step_timeout(function() {
assert_equals(actual, expected, desc);
}), 0);
}, 0);
}
</script>

View file

@ -294,6 +294,7 @@ GENERATE_TESTS: shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/w
GENERATE_TESTS: shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/window-named-properties-003.html
# Intentional use of setTimeout
SET TIMEOUT: html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-2.tentative.html
SET TIMEOUT: html/browsers/windows/auxiliary-browsing-contexts/resources/close-opener.html
SET TIMEOUT: html/dom/documents/dom-tree-accessors/Document.currentScript.html
SET TIMEOUT: html/webappapis/timers/*
@ -937,3 +938,5 @@ CONSOLE:payment-request/payment-request-response-id.html
# Tests that use WebKit/Blink testing APIs
LAYOUTTESTS APIS: css/css-regions/interactivity/*
# Test that uses the same names as the WebKit/Blink testing APIs
LAYOUTTESTS APIS: html/browsers/history/the-session-history-of-browsing-contexts/navigation-in-onload_form-submission-2.tentative.html