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

Unified Diff: test/message/strong-object-set-proto.js

Issue 1166433007: [strong] fix strong object exception messages (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/message/strong-object-freeze-prop.out ('k') | test/message/strong-object-set-proto.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/strong-object-set-proto.js
diff --git a/test/mjsunit/compiler/regress-463056.js b/test/message/strong-object-set-proto.js
similarity index 73%
copy from test/mjsunit/compiler/regress-463056.js
copy to test/message/strong-object-set-proto.js
index fb871618e42c9387d38a445522bfd01cfbbe9bfa..890dd84d7292372c75cb9180ce67c3accadd0b81 100644
--- a/test/mjsunit/compiler/regress-463056.js
+++ b/test/message/strong-object-set-proto.js
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-function f() {
- return ((0%0)&1) + (1>>>(0%0));
-}
+// Flags: --strong-mode
-f();
+"use strong";
+
+({}).__proto__ = {};
« no previous file with comments | « test/message/strong-object-freeze-prop.out ('k') | test/message/strong-object-set-proto.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698