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

Unified Diff: test/mjsunit/regress/regress-crbug-504729.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-504727.js ('k') | test/mjsunit/regress/regress-crbug-505778.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-504729.js
diff --git a/test/mjsunit/regress/regress-crbug-504729.js b/test/mjsunit/regress/regress-crbug-504729.js
index 2a790542013bc9f7240982cb576b45e4d5a10afd..435cafee877a60e23bf6e92123ba6ac153fc2589 100644
--- a/test/mjsunit/regress/regress-crbug-504729.js
+++ b/test/mjsunit/regress/regress-crbug-504729.js
@@ -5,5 +5,5 @@
if (this.Worker) {
Function.prototype.toString = "foo";
function __f_7() {}
- assertThrows(function() { var __v_5 = new Worker(__f_7); });
+ assertThrows(function() { var __v_5 = new Worker(__f_7.toString()); });
}
« no previous file with comments | « test/mjsunit/regress/regress-crbug-504727.js ('k') | test/mjsunit/regress/regress-crbug-505778.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698