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); }); |