| 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="../../resources/js-test.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 <script> | 9 <script> |
| 10 description('Test for event dipatching by search cancel button.'); | 10 description('Test for event dipatching by search cancel button.'); |
| 11 | 11 |
| 12 var parent = document.createElement('div'); | 12 var parent = document.createElement('div'); |
| 13 document.body.appendChild(parent); | 13 document.body.appendChild(parent); |
| 14 parent.innerHTML = '<input type=search id=search value=foo><input id=another>'; | 14 parent.innerHTML = '<input type=search id=search value=foo><input id=another>'; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 38 shouldBe('changeEventCounter', '1'); | 38 shouldBe('changeEventCounter', '1'); |
| 39 shouldBe('inputEventCounter', '1'); | 39 shouldBe('inputEventCounter', '1'); |
| 40 | 40 |
| 41 parent.innerHTML = ''; | 41 parent.innerHTML = ''; |
| 42 } else { | 42 } else { |
| 43 document.getElementById('console').innerHTML = 'No eventSender'; | 43 document.getElementById('console').innerHTML = 'No eventSender'; |
| 44 } | 44 } |
| 45 </script> | 45 </script> |
| 46 </body> | 46 </body> |
| 47 </html> | 47 </html> |
| OLD | NEW |