OLD | NEW |
---|---|
(Empty) | |
1 <html> | |
2 <head> | |
3 <base href="/inspector-debug/"></base> | |
4 <script src="/inspector-debug/Runtime.js"></script> | |
5 <script src="/inspector-unit/inspector-unit-test.js"></script> | |
6 <script> | |
7 function test() | |
8 { | |
9 setTimeout(_ => { throw {stack: "This error is expected"} }, 0); | |
10 } | |
11 </script> | |
12 </head> | |
13 <body> | |
14 Tests that a test will properly exit if it has an asynchronous error. | |
15 </body> | |
16 </html> | |
OLD | NEW |