Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <script> | 2 <script> |
| 3 // Make sure touch top window location first, get the hook to inject function. | 3 // Make sure touch top window location first, get the hook to inject function. |
| 4 window.top.location; | 4 window.top.location; |
| 5 | 5 |
| 6 Object.prototype.fail = function() { | 6 Object.prototype.fail = function() { |
| 7 alert('FAIL!'); | 7 alert('FAIL!'); |
| 8 }; | 8 }; |
| 9 </script> | 9 </script> |
| OLD | NEW |