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

Unified Diff: lib/compiler/implementation/lib/native_helper.dart

Issue 10356096: Set defineProperty writeable: true. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/native_helper.dart
diff --git a/lib/compiler/implementation/lib/native_helper.dart b/lib/compiler/implementation/lib/native_helper.dart
index 6b32e78120bfd8604871344a158893053ede3c60..e5247a80005c453522960d0556d99d9d81de3cb4 100644
--- a/lib/compiler/implementation/lib/native_helper.dart
+++ b/lib/compiler/implementation/lib/native_helper.dart
@@ -100,7 +100,7 @@ String toStringForNativeObject(var obj) {
*/
void defineProperty(var obj, String property, var value) {
JS('void', """Object.defineProperty(#, #,
- {value: #, enumerable: false, writable: false, configurable: true});""",
+ {value: #, enumerable: false, writable: true, configurable: true});""",
obj,
property,
value);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698