Try to make some xssAuditor tests less flakey.
[webkit:qtwebkit.git] / LayoutTests / http / tests / security / xssAuditor / object-embed-tag.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="resources/utilities.js"></script>
5 <script>
6 if (window.layoutTestController) {
7   layoutTestController.dumpAsText();
8   layoutTestController.setXSSAuditorEnabled(true);
9   layoutTestController.waitUntilDone();
10   notifyDoneAfterReceivingBeforeloadFromIds(["object", "embed"]);
11 }
12 </script>
13 </head>
14 <body>
15 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?relay-target-ids-for-event=beforeload&q=<object id='object' name='plugin' type='application/x-webkit-test-netscape'><param name='movie' value='http://127.0.0.1:8000/security/xssAuditor/resources/dummy.swf' /><embed id='embed' name='plugin' type='application/x-webkit-test-netscape' src='http://127.0.0.1:8000/security/xssAuditor/resources/dummy.swf' /></object>">
16 </iframe>
17 </body>
18 </html>