OLD | NEW |
1 <script> | 1 <script> |
2 if (window.layoutTestController) { | 2 if (window.layoutTestController) { |
3 layoutTestController.dumpAsText(); | 3 layoutTestController.dumpAsText(); |
4 layoutTestController.waitUntilDone(); | 4 layoutTestController.waitUntilDone(); |
5 layoutTestController.setCanOpenWindows(); | 5 layoutTestController.setCanOpenWindows(); |
6 layoutTestController.setCloseRemainingWindowsWhenComplete(true); | 6 layoutTestController.setCloseRemainingWindowsWhenComplete(true); |
7 } | 7 } |
8 </script> | 8 </script> |
9 <body> | 9 <body> |
10 This passes if it doesn't alert the contents of innocent-victim. | 10 This passes if it doesn't alert the contents of innocent-victim. |
(...skipping 12 matching lines...) Expand all Loading... |
23 obj.__proto__.__proto__ = parent; | 23 obj.__proto__.__proto__ = parent; |
24 alert(obj.valueOf.constructor("return document.body.innerHTML")(
)); | 24 alert(obj.valueOf.constructor("return document.body.innerHTML")(
)); |
25 } catch(ex) { | 25 } catch(ex) { |
26 } | 26 } |
27 if (window.layoutTestController) | 27 if (window.layoutTestController) |
28 layoutTestController.notifyDone(); | 28 layoutTestController.notifyDone(); |
29 } + ")()</scr" + "ipt>"; | 29 } + ")()</scr" + "ipt>"; |
30 } | 30 } |
31 } | 31 } |
32 </script> | 32 </script> |
OLD | NEW |