2010-07-13 Eric Seidel <eric@webkit.org>
[WebKit-https.git] / LayoutTests / userscripts / script-not-run-for-fragments.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script>
5 if (window.layoutTestController) {
6     layoutTestController.dumpAsText();
7     layoutTestController.waitUntilDone();
8     layoutTestController.addUserScript("console.log('injected'); var div = document.createElement('div'); div.innerHTML = '<p>hi</p>';", true, true);
9 }
10 </script>
11 </head>
12 <body>
13 This test should not infinitely inject user scripts.
14 <iframe src="resources/blank.xhtml"></iframe>
15 </body>
16 </html>