mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
19
tests/html/test_interval.html
Normal file
19
tests/html/test_interval.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
var x = 0;
|
||||
alert("Interval begin");
|
||||
var intervalID = setInterval(function() {
|
||||
if (x < 10) {
|
||||
alert("interval " + x);
|
||||
x += 1;
|
||||
} else {
|
||||
clearInterval(intervalID);
|
||||
alert("Interval deleted");
|
||||
}
|
||||
}, 300);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue