| OLD | NEW |
| 1 <script type="text/javascript"> | 1 <script type="text/javascript"> |
| 2 function loadAbort(evt) { | 2 function loadAbort(evt) { |
| 3 document.title = evt.type; | 3 document.title = evt.type; |
| 4 } | 4 } |
| 5 function loadStart(evt) { | 5 function loadStart(evt) { |
| 6 document.title = evt.url; | 6 document.title = evt.url; |
| 7 } | 7 } |
| 8 function loadStop(evt) { | 8 function loadStop(evt) { |
| 9 document.title = "loadStop"; | 9 document.title = "loadStop"; |
| 10 } | 10 } |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 } | 94 } |
| 95 } | 95 } |
| 96 } | 96 } |
| 97 var plugin = document.getElementById('plugin'); | 97 var plugin = document.getElementById('plugin'); |
| 98 plugin.addEventListener('loadstart', loadStart); | 98 plugin.addEventListener('loadstart', loadStart); |
| 99 plugin.addEventListener('loadabort', loadAbort); | 99 plugin.addEventListener('loadabort', loadAbort); |
| 100 plugin.addEventListener('loadredirect', loadRedirect); | 100 plugin.addEventListener('loadredirect', loadRedirect); |
| 101 window.addEventListener('message', receiveMessage, false); | 101 window.addEventListener('message', receiveMessage, false); |
| 102 plugin.addEventListener('loadstop', loadStop); | 102 plugin.addEventListener('loadstop', loadStop); |
| 103 plugin.addEventListener('loadcommit', loadCommit); | 103 plugin.addEventListener('loadcommit', loadCommit); |
| 104 plugin.addEventListener('sizechanged', sizeChanged); |
| 104 </script> | 105 </script> |
| OLD | NEW |