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

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

Issue 1174753002: Fix cluster-fuzz bug introduced in refs/heads/master@{#28796}. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: nicer test 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/runtime/runtime-typedarray.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-498142.js
diff --git a/test/message/strong-object-set-proto.js b/test/mjsunit/regress/regress-crbug-498142.js
similarity index 52%
copy from test/message/strong-object-set-proto.js
copy to test/mjsunit/regress/regress-crbug-498142.js
index 890dd84d7292372c75cb9180ce67c3accadd0b81..fcec5d1bd7c939bb17c42c218643ad35df157e40 100644
--- a/test/message/strong-object-set-proto.js
+++ b/test/mjsunit/regress/regress-crbug-498142.js
@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --strong-mode
+// Flags: --allow-natives-syntax --harmony-sharedarraybuffer
-"use strong";
-
-({}).__proto__ = {};
+var sab = new SharedArrayBuffer(16);
+assertThrows(function() { %ArrayBufferNeuter(sab); });
« no previous file with comments | « src/runtime/runtime-typedarray.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698