blob: c73efc3394c76968ec6c954aa0c5e10b9d16b976 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
layoutTestController.addUserScript("console.log('injected'); var div = document.createElement('div'); div.innerHTML = '<p>hi</p>';", true, true);
}
</script>
</head>
<body>
This test should not infinitely inject user scripts.
<iframe src="resources/blank.xhtml"></iframe>
</body>
</html>