Move content tests to src/test/content for consistency

This commit is contained in:
Keegan McAllister 2014-03-07 15:47:42 -08:00
parent 2238d81b53
commit 6f76244377
60 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,25 @@
<!doctype html>
<html>
<head>
<title>Node.insertBefore</title>
<script src="harness.js"></script>
</head>
<body>
<script type="text/javascript">
// test1: insertBefore
{
var root = document.createElement("div");
var after = document.createElement("div");
var before = document.createElement("div");
root.appendChild(after);
is(root.insertBefore(before, after), before, "test1-0, insertBefore");
is(root.childNodes[0], before, "test1-1, insertBefore");
is(root.childNodes[1], after, "test1-2, insertBefore");
finish();
}
</script>
</body>
</html>