2009-09-29 Daniel Bates <dbates@webkit.org>
[WebKit.git] / LayoutTests / http / tests / security / xssAuditor / meta-tag-http-refresh-javascript-url.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.layoutTestController) {
6   layoutTestController.dumpAsText();
7   layoutTestController.setXSSAuditorEnabled(true);
8   layoutTestController.waitUntilDone();
9   window.setTimeout(done, 2000);
10 }
11
12 function done()
13 {
14     if (window.layoutTestController)
15         layoutTestController.notifyDone();
16 }
17 </script>
18 </head>
19 <body>
20 <iframe src="http://localhost:8000/security/xssAuditor/resources/echo-head.pl?q=%3Cmeta+http-equiv%3D%22refresh%22+content%3D%220%3B+url%3Djavascript%3Aalert%28document.domain%29%22%3E">
21 </iframe>
22 </body>
23 </html>