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

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

Issue 1214803004: Fix cluster-fuzz found regression in d8 Workers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: assertThrows 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 | « src/d8.cc ('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-504729.js
diff --git a/test/mjsunit/regress/regress-crbug-503698.js b/test/mjsunit/regress/regress-crbug-504729.js
similarity index 60%
copy from test/mjsunit/regress/regress-crbug-503698.js
copy to test/mjsunit/regress/regress-crbug-504729.js
index 274eb5a99e9bc392107d933400f1ff2a3aab0e13..2a790542013bc9f7240982cb576b45e4d5a10afd 100644
--- a/test/mjsunit/regress/regress-crbug-503698.js
+++ b/test/mjsunit/regress/regress-crbug-504729.js
@@ -2,9 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --invoke-weak-callbacks
-
if (this.Worker) {
- function __f_1() {}
- var __v_6 = new Worker(__f_1);
+ Function.prototype.toString = "foo";
+ function __f_7() {}
+ assertThrows(function() { var __v_5 = new Worker(__f_7); });
}
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698