Commit 81720ffe authored by yangguo@chromium.org's avatar yangguo@chromium.org

Amend regression test.

R=rossberg@chromium.org
BUG=128146
TEST=

Review URL: https://chromiumcodereview.appspot.com/10382196

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11580 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 62b35e21
......@@ -28,3 +28,11 @@
Object.defineProperty({},"foo",{set:function(){},configurable:false});
Object.defineProperty({},"foo",{get:function(){},configurable:false});
Object.defineProperty({},"foo",{});
// From WebKit layout tests (fast/js/prototypes.html)
var wasSet = false;
var o = { };
o.__defineGetter__("__proto__", function() { wasSet = true });
o.__proto__;
assertFalse(wasSet);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment