| Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/test-failure.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/test-failure.html b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/test-failure.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1a0bc2481fb1824586b686ac6f30cce9219894f5
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/test-failure.html
|
| @@ -0,0 +1,16 @@
|
| +<html>
|
| +<head>
|
| +<base href="/inspector-debug/"></base>
|
| +<script src="/inspector-debug/Runtime.js"></script>
|
| +<script src="/inspector-unit/inspector-unit-test.js"></script>
|
| +<script>
|
| +function test()
|
| +{
|
| + setTimeout(_ => { throw {stack: "This error is expected"} }, 0);
|
| +}
|
| +</script>
|
| +</head>
|
| +<body>
|
| +Tests that a test will properly exit if it has an asynchronous error.
|
| +</body>
|
| +</html>
|
|
|