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

Unified Diff: src/objects.cc

Issue 18090: Fix issue 191:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 11 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 | « no previous file | test/mjsunit/regress/regress-191.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
===================================================================
--- src/objects.cc (revision 1073)
+++ src/objects.cc (working copy)
@@ -1599,7 +1599,7 @@
return JSObject::cast(proto)->SetProperty(result, name, value, attributes);
}
- if (result->IsNotFound() || !result->IsProperty()) {
+ if (!result->IsProperty() && !IsJSContextExtensionObject()) {
// We could not find a local property so let's check whether there is an
// accessor that wants to handle the property.
LookupResult accessor_result;
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-191.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698