mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
tests: Add missing finish() and a title in insertBefore content test
This commit is contained in:
parent
2b541a9a13
commit
6443318347
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<title>Node.insertBefore</title>
|
||||||
<script src="harness.js"></script>
|
<script src="harness.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -16,6 +17,8 @@
|
||||||
is(root.insertBefore(before, after), before, "test1-0, insertBefore");
|
is(root.insertBefore(before, after), before, "test1-0, insertBefore");
|
||||||
is(root.childNodes[0], before, "test1-1, insertBefore");
|
is(root.childNodes[0], before, "test1-1, insertBefore");
|
||||||
is(root.childNodes[1], after, "test1-2, insertBefore");
|
is(root.childNodes[1], after, "test1-2, insertBefore");
|
||||||
|
|
||||||
|
finish();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue