Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/test-failure.html

Issue 2392433003: DevTools: Catch async errors in unit tests (Closed)
Patch Set: Style Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698