tests: Add missing finish() and a title in insertBefore content test

This commit is contained in:
Adrien Bustany 2014-02-05 18:24:27 +01:00
parent 2b541a9a13
commit 6443318347

View file

@ -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>