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

Unified Diff: test/mjsunit/regress/regress-crbug-505778.js

Issue 1218553004: Change d8 Worker API so it takes a string instead of a function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: use template strings Created 5 years, 6 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
« no previous file with comments | « test/mjsunit/regress/regress-crbug-504729.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-505778.js
diff --git a/test/mjsunit/regress/regress-crbug-505778.js b/test/mjsunit/regress/regress-crbug-505778.js
index 9f14fd08002e6fccd5ee4266c0f63d07fe6926a0..74d96ab094295b9429b5bed7c2cc7268146b939b 100644
--- a/test/mjsunit/regress/regress-crbug-505778.js
+++ b/test/mjsunit/regress/regress-crbug-505778.js
@@ -3,9 +3,6 @@
// found in the LICENSE file.
if (this.Worker) {
- function __f_3() {
- onmessage = function() {}
- }
- var __v_7 = new Worker(__f_3);
+ var __v_7 = new Worker('onmessage = function() {}');
__v_7.postMessage("");
}
« no previous file with comments | « test/mjsunit/regress/regress-crbug-504729.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698