OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 This test case caught a crash bug in Chrome, due to a logic bug in the spec when |
| 3 a second <script> element tried to load a previously-failed module. As such, the |
| 4 test passes as long as nothing crashes. |
| 5 |
| 6 See https://github.com/whatwg/html/pull/2559 for background. |
| 7 --> |
| 8 |
| 9 <!DOCTYPE html> |
| 10 <html> |
| 11 <head> |
| 12 <title>html-script-module-instantiation-error-1</title> |
| 13 <script src="/resources/testharness.js"></script> |
| 14 <script src="/resources/testharnessreport.js"></script> |
| 15 </head> |
| 16 <body> |
| 17 <h1>html-script-module-instantiation-error-1</h1> |
| 18 <script> setup({allow_uncaught_exception: true}) </script> |
| 19 <script type="module" src="./instantiation-error-1.js"></script> |
| 20 <script type="module" src="./instantiation-error-1.js"></script> |
| 21 </body> |
| 22 </html> |
OLD | NEW |