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