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

Unified Diff: LayoutTests/fast/files/workers/inline-worker-via-blob-url.html

Issue 1025203002: Have postMessage()s throw TypeError on failed arity checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tidy up incorrect postMessage() usage Created 5 years, 9 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: LayoutTests/fast/files/workers/inline-worker-via-blob-url.html
diff --git a/LayoutTests/fast/files/workers/inline-worker-via-blob-url.html b/LayoutTests/fast/files/workers/inline-worker-via-blob-url.html
index ef1e80de0a5aee9f5479246bcdbb758b9a35657b..ebc965d7af4e30e65deee8810987ae4cfe79354e 100644
--- a/LayoutTests/fast/files/workers/inline-worker-via-blob-url.html
+++ b/LayoutTests/fast/files/workers/inline-worker-via-blob-url.html
@@ -23,7 +23,7 @@ function runTest()
if (testRunner.notifyDone)
testRunner.notifyDone();
};
- worker.postMessage();
+ worker.postMessage("hi");
}
if (window.testRunner) {
« no previous file with comments | « LayoutTests/fast/events/resources/message-port-multi.js ('k') | LayoutTests/fast/workers/resources/worker-multi-port.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698