blob: cd4e54362ab11a75aeeeef318bbe772f96f85bf2 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
layoutTestController.addUserScript("console.log('injected: ' + document.location.href); 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>