mirror of
https://github.com/servo/servo.git
synced 2025-10-17 08:49:21 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -0,0 +1,12 @@
|
|||
var t = async_test("Interaction of setTimeout and WebIDL")
|
||||
function finishTest() {
|
||||
assert_equals(log, "ONE TWO ")
|
||||
t.done()
|
||||
}
|
||||
var log = '';
|
||||
function logger(s) { log += s + ' '; }
|
||||
|
||||
setTimeout({ toString: function () {
|
||||
setTimeout("logger('ONE')", 100);
|
||||
return "logger('TWO'); t.step(finishTest)";
|
||||
} }, 100);
|
Loading…
Add table
Add a link
Reference in a new issue