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

Unified Diff: test/mjsunit/regress/regress-334.js

Issue 10388047: Implement correct checking for inherited readonliness on assignment. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed Michael's comments. Created 8 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/mjsunit/regress/regress-1199637.js ('k') | test/mjsunit/with-readonly.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-334.js
diff --git a/test/mjsunit/regress/regress-334.js b/test/mjsunit/regress/regress-334.js
index 024fc9e856874c702eb7d8336416402db0ff888e..10c343d2dcdbf5a669fd27a636f8b47a6cf7e974 100644
--- a/test/mjsunit/regress/regress-334.js
+++ b/test/mjsunit/regress/regress-334.js
@@ -40,13 +40,14 @@ var object = {__proto__:{}};
%SetProperty(object, "foo", func1, DONT_ENUM | DONT_DELETE);
%SetProperty(object, "bar", func1, DONT_ENUM | READ_ONLY);
%SetProperty(object, "baz", func1, DONT_DELETE | READ_ONLY);
-%SetProperty(object.__proto__, "bif", func1, DONT_ENUM | DONT_DELETE | READ_ONLY);
+%SetProperty(object.__proto__, "bif", func1, DONT_ENUM | DONT_DELETE);
object.bif = func2;
function enumerable(obj) {
var res = [];
for (var i in obj) {
res.push(i);
+ print(i);
}
res.sort();
return res;
« no previous file with comments | « test/mjsunit/regress/regress-1199637.js ('k') | test/mjsunit/with-readonly.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698