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

Side by Side 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, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 if (this.Worker) { 5 if (this.Worker) {
6 Function.prototype.toString = "foo"; 6 Function.prototype.toString = "foo";
7 function __f_7() {} 7 function __f_7() {}
8 assertThrows(function() { var __v_5 = new Worker(__f_7); }); 8 assertThrows(function() { var __v_5 = new Worker(__f_7.toString()); });
9 } 9 }
OLDNEW
« 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