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

Unified Diff: LayoutTests/inspector/console/resources/worker-with-throw.js

Issue 743153002: [DevTools] Show stack trace for exceptions in dedicated workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@worker-capture-stack
Patch Set: Rebased Created 6 years 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/console/resources/worker-with-throw.js
diff --git a/LayoutTests/inspector/console/resources/worker-with-throw.js b/LayoutTests/inspector/console/resources/worker-with-throw.js
new file mode 100644
index 0000000000000000000000000000000000000000..5d8503d8b36b43852e2e00b38d7f324d5c0bb9a6
--- /dev/null
+++ b/LayoutTests/inspector/console/resources/worker-with-throw.js
@@ -0,0 +1,12 @@
+function foo()
+{
+ throw new Error();
+}
+function boo()
+{
+ foo();
+}
+
+onmessage = function(event) {
+ boo();
+};

Powered by Google App Engine
This is Rietveld 408576698