OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 | 8 |
9 function handle(list, id, event) | 9 function handle(list, id, event) |
10 { | 10 { |
11 list.push(event.type + "@" + id); | 11 list.push(event.type + "@" + id); |
12 } | 12 } |
13 | 13 |
14 function testEventsFiredOn(doc) | 14 function testEventsFiredOn(doc) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 var xmlDoc = document.implementation.createDocument('http://www.example.com/', '
foo', null); | 48 var xmlDoc = document.implementation.createDocument('http://www.example.com/', '
foo', null); |
49 var target = xmlDoc.createElement("bar"); | 49 var target = xmlDoc.createElement("bar"); |
50 target.setAttribute("id", "target"); | 50 target.setAttribute("id", "target"); |
51 xmlDoc.documentElement.appendChild(target); | 51 xmlDoc.documentElement.appendChild(target); |
52 testEventsFiredOn(xmlDoc); | 52 testEventsFiredOn(xmlDoc); |
53 | 53 |
54 </script> | 54 </script> |
55 </body> | 55 </body> |
56 </html> | 56 </html> |
OLD | NEW |