diff --git a/lib/mixins/element-mixin.html b/lib/mixins/element-mixin.html index 92b728d714..a3bb9c9eec 100644 --- a/lib/mixins/element-mixin.html +++ b/lib/mixins/element-mixin.html @@ -124,8 +124,6 @@ let caseMap = Polymer.CaseMap; - const DISABLED = 'disable-upgrade'; - /** * Returns the `properties` object specifically on `klass`. Use for: * (1) super chain mixes togther to make `propertiesForClass` which is @@ -453,8 +451,6 @@ proto._bindTemplate(template); } - function flushPropertiesStub() {} - /** * @polymerMixinClass * @unrestricted @@ -472,7 +468,7 @@ */ static get observedAttributes() { if (!this.hasOwnProperty(JSCompiler_renameProperty('__observedAttributes', this))) { - let list = [DISABLED]; + let list = []; let properties = propertiesForClass(this); for (let prop in properties) { list.push(Polymer.CaseMap.camelToDashCase(prop)); @@ -720,19 +716,7 @@ * @override */ attributeChangedCallback(name, old, value) { - // process `disable-upgrade` specially: - // First we see `disable-upgrade` added and disable `_flushProperties`, - // then when it's removed, restore regular flushing and flush. - // This should only be allowed before "readying". - if (name === DISABLED && !this.__dataInitialized) { - if (value !== null) { - this.__flushProperties = this._flushProperties; - this._flushProperties = flushPropertiesStub; - } else { - this._flushProperties = this.__flushProperties; - this._flushProperties(); - } - } else if (old !== value) { + if (old !== value) { let property = caseMap.dashToCamelCase(name); let type = propertiesForClass(this.constructor)[property].type; if (!this._hasReadOnlyEffect(property)) { diff --git a/lib/mixins/template-stamp.html b/lib/mixins/template-stamp.html index af17ee3bfe..1a26c7937e 100644 --- a/lib/mixins/template-stamp.html +++ b/lib/mixins/template-stamp.html @@ -118,11 +118,6 @@ */ class TemplateStamp extends superClass { - _initializeProperties() { - super._initializeProperties(); - this.$ = null; - } - /** * Scans a template to produce template metadata. * diff --git a/test/runner.html b/test/runner.html index e15a8de0a5..8df2426d90 100644 --- a/test/runner.html +++ b/test/runner.html @@ -71,8 +71,7 @@ 'unit/logging.html', 'unit/mixin-utils.html', 'unit/mixin-behaviors.html', - 'unit/render-status.html', - 'unit/disable-upgrade.html' + 'unit/render-status.html' ]; // http://eddmann.com/posts/cartesian-product-in-javascript/ diff --git a/test/smoke/disable-upgrade.html b/test/smoke/disable-upgrade.html deleted file mode 100644 index 0897b46d03..0000000000 --- a/test/smoke/disable-upgrade.html +++ /dev/null @@ -1,98 +0,0 @@ - - - -
- - - - - -