Skip to content

Commit

Permalink
Test for sync script loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Oct 29, 2014
1 parent 598150e commit b2c211e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/content/test_createElement_script.html
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<script>
var output = "start";

var script = document.createElement("script");
script.setAttribute('type','text/javascript');
script.textContent = "output += ' middle ';";
document.body.appendChild(script);

output += "end";
is(output, "start middle end");
finish();
</script>
</body>
</html>

5 comments on commit b2c211e

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from Ms2ger
at mbrubeck@b2c211e

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging mbrubeck/servo/script-sync = b2c211e into auto

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mbrubeck/servo/script-sync = b2c211e merged ok, testing candidate = 272ae0c

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors-servo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 272ae0c

Please sign in to comment.