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

Unified Diff: test/mjsunit/runtime-gen/setownproperty.js

Issue 332443002: Add support for computed property names in object literals (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added tests Created 6 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
Index: test/mjsunit/runtime-gen/setownproperty.js
diff --git a/test/mjsunit/runtime-gen/sethiddenproperty.js b/test/mjsunit/runtime-gen/setownproperty.js
similarity index 77%
copy from test/mjsunit/runtime-gen/sethiddenproperty.js
copy to test/mjsunit/runtime-gen/setownproperty.js
index 305046a0c8d89f57868e3e01fb0966a0bb2245a2..93939f60fe44f1a9b9a37d25c4e44253822f8f6a 100644
--- a/test/mjsunit/runtime-gen/sethiddenproperty.js
+++ b/test/mjsunit/runtime-gen/setownproperty.js
@@ -2,6 +2,6 @@
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _object = new Object();
-var _key = "foo";
+var _key = new Object();
var _value = new Object();
-%SetHiddenProperty(_object, _key, _value);
+%SetOwnProperty(_object, _key, _value);

Powered by Google App Engine
This is Rietveld 408576698