Index: sky/framework/sky-element/sky-element.sky |
diff --git a/sky/framework/sky-element/sky-element.sky b/sky/framework/sky-element/sky-element.sky |
index 30f5302d99af1da71f1f3fc7d57975db0098c29b..adb7e28640924e0b0b8185a41602c31cc7d2f0cc 100644 |
--- a/sky/framework/sky-element/sky-element.sky |
+++ b/sky/framework/sky-element/sky-element.sky |
@@ -101,6 +101,8 @@ class SkyElement extends HTMLElement { |
this.isAttached = false; |
this.created(); |
+ Object.preventExtensions(this); |
+ |
// Invoke attributeChanged callback when element is first created too. |
var attributes = this.getAttributes(); |
for (var i = 0; i < attributes.length; ++i) { |