4 if (window.layoutTestController) {
\r
5 window.layoutTestController.dumpAsText();
\r
6 window.layoutTestController.addUserScript("document.addEventListener('beforeload', function(event) { if (event.url.indexOf('swf') >= 0) event.preventDefault(); }, true);", true, true);
\r
11 This tests https://bugs.webkit.org/show_bug.cgi?id=46773 by having the load of the plugin
\r
12 inside the plugin document be cancelled. If there is no crash, the test passed.
\r
13 <iframe src="resources/simple_blank.swf"></iframe>
\r