diff --git a/lib/legacy/class.html b/lib/legacy/class.html
index ea8dfd835e..2856cd773e 100644
--- a/lib/legacy/class.html
+++ b/lib/legacy/class.html
@@ -25,11 +25,7 @@
registered: true,
attributeChanged: true,
// meta objects
- behaviors: true,
- hostAttributes: true,
- properties: true,
- observers: true,
- listeners: true
+ behaviors: true
}
/**
diff --git a/test/unit/behaviors.html b/test/unit/behaviors.html
index 27535891e3..997a6ded74 100644
--- a/test/unit/behaviors.html
+++ b/test/unit/behaviors.html
@@ -172,7 +172,12 @@
behaviors: [
Polymer.BehaviorA
- ]
+ ],
+
+ properties: {},
+ observers: [],
+ hostAttributes: {},
+ listeners: {}
});
Polymer({
@@ -307,6 +312,14 @@
assert.equal(el.is, 'single-behavior');
});
+ test('instance behaviors, properties, observers, hostAttributes, listeners', function() {
+ assert.isOk(el.behaviors);
+ assert.isOk(el.properties);
+ assert.isOk(el.observers);
+ assert.isOk(el.hostAttributes);
+ assert.isOk(el.listeners);
+ });
+
test('ready from behavior', function() {
assert.equal(el.__readyA, true);
});