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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/resources/worker-console-worker.js

Issue 2003433004: Remove dependency from ConsoleMessage to workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1999463002
Patch Set: messageN Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/resources/worker-console-worker.js
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/resources/worker-console-worker.js b/third_party/WebKit/LayoutTests/inspector-protocol/resources/worker-console-worker.js
new file mode 100644
index 0000000000000000000000000000000000000000..8c5f0035af89eba7aca77fcc1b43a99a1930b6f8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/resources/worker-console-worker.js
@@ -0,0 +1,6 @@
+self.onmessage = function(event)
+{
+ console.log(event.data);
+ self.postMessage(event.data);
+}
+self.postMessage("ready");

Powered by Google App Engine
This is Rietveld 408576698