OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 window.jsTestIsAsync = true; | 5 window.jsTestIsAsync = true; |
6 window.isOnErrorTest = true; | 6 window.isOnErrorTest = true; |
7 </script> | 7 </script> |
8 <script src="../js/resources/js-test-pre.js"></script> | 8 <script src="../js/resources/js-test-pre.js"></script> |
9 <script src="resources/onerror-test.js"></script> | 9 <script src="resources/onerror-test.js"></script> |
10 </head> | 10 </head> |
(...skipping 15 matching lines...) Expand all Loading... |
26 var button3 = document.createElement("button"); | 26 var button3 = document.createElement("button"); |
27 button3.textContent = "Button 3"; | 27 button3.textContent = "Button 3"; |
28 button3.setAttribute("onclick", "null.mu()"); | 28 button3.setAttribute("onclick", "null.mu()"); |
29 document.body.appendChild(button3); | 29 document.body.appendChild(button3); |
30 | 30 |
31 var buttons = document.querySelectorAll('button'); | 31 var buttons = document.querySelectorAll('button'); |
32 for (var i = 0; i < buttons.length; ++i) { | 32 for (var i = 0; i < buttons.length; ++i) { |
33 buttons[i].click(); | 33 buttons[i].click(); |
34 } | 34 } |
35 </script> | 35 </script> |
36 <script src="../js/resources/js-test-post.js"></script> | |
37 </body> | 36 </body> |
38 </html> | 37 </html> |
OLD | NEW |