| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p id="description"></p> | 7 <p id="description"></p> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 <input onbeforeload="1" onabort="1"> | 9 <input onbeforeload="1" onabort="1"> |
| 10 <script src="resources/shouldnotexecute.js" onbeforeload="debug('cancelled onbef
oreload async'); return false;" async></script> | 10 <script src="resources/shouldnotexecute.js" onbeforeload="debug('cancelled onbef
oreload async'); return false;" async></script> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 for (var i = 0; i < elementTags.length; i++) { | 26 for (var i = 0; i < elementTags.length; i++) { |
| 27 var element = document.createElement(elementTags[i]); | 27 var element = document.createElement(elementTags[i]); |
| 28 for (var j = 0; j < eventNames.length; j++) { | 28 for (var j = 0; j < eventNames.length; j++) { |
| 29 element.setAttribute(eventNames[j], "1"); | 29 element.setAttribute(eventNames[j], "1"); |
| 30 shouldBe('/*' + elementTags[i] + '*/ typeof (element["' + eventNames[j]
+ '"])', '"function"'); | 30 shouldBe('/*' + elementTags[i] + '*/ typeof (element["' + eventNames[j]
+ '"])', '"function"'); |
| 31 } | 31 } |
| 32 } | 32 } |
| 33 | 33 |
| 34 </script> | 34 </script> |
| 35 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 36 </body> | 35 </body> |
| 37 </html> | 36 </html> |
| OLD | NEW |