| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 window.existingCustomProperty = 1; | 4 window.existingCustomProperty = 1; |
| 5 window.__proto__.windowPrototypeCustomProperty = 1; | 5 window.__proto__.windowPrototypeCustomProperty = 1; |
| 6 window.Object.prototype.objectPrototypeCustomProperty = 1; | 6 window.Object.prototype.objectPrototypeCustomProperty = 1; |
| 7 window.location.customProperty = 1; | 7 window.location.customProperty = 1; |
| 8 window.history.customProperty = 1; | 8 window.history.customProperty = 1; |
| 9 | 9 |
| 10 window.onload = function() | 10 window.onload = function() |
| 11 { | 11 { |
| 12 if (window.testRunner) | 12 window.parent.postMessage('start', '*'); |
| 13 testRunner.globalFlag = true; | |
| 14 } | 13 } |
| 15 </script> | 14 </script> |
| 16 </head> | 15 </head> |
| 17 <body> | 16 <body> |
| 18 <iframe name="testiframe" src="data:text/html,<p>test iframe</p>"></iframe> | 17 <iframe name="testiframe" src="data:text/html,<p>test iframe</p>"></iframe> |
| 19 <img name="testimage" src="data:image/jpg,"> | 18 <img name="testimage" src="data:image/jpg,"> |
| 20 </body> | 19 </body> |
| 21 </html> | 20 </html> |
| OLD | NEW |