mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
13
tests/html/test_timeout.html
Normal file
13
tests/html/test_timeout.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div></div><script>
|
||||
function foo(i) {
|
||||
window.alert("timeout " + i);
|
||||
if (i == 10)
|
||||
window.alert("timeouts finished");
|
||||
else
|
||||
window.setTimeout(function() { foo(i + 1); }, 1000);
|
||||
}
|
||||
|
||||
window.alert("beginning timeouts");
|
||||
window.setTimeout(function() { foo(0); }, 1000);
|
||||
window.alert("timeouts begun");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue