eric@webkit.org | 47d962d | 2010-01-27 11:43:55 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML> |
| 2 | <html> |
| 3 | <head> |
| 4 | <script> |
rniwa@webkit.org | cc082ecd | 2012-06-16 03:42:58 +0000 | [diff] [blame] | 5 | if (window.testRunner) { |
| 6 | testRunner.dumpAsText(); |
| 7 | testRunner.waitUntilDone(); |
| 8 | testRunner.addUserScript("console.log('injected: ' + document.location.href); var div = document.createElement('div'); div.innerHTML = '<p>hi</p>';", true, true); |
eric@webkit.org | 47d962d | 2010-01-27 11:43:55 +0000 | [diff] [blame] | 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> |