From 72f21fe6ada596a56747d3bed9f55ec4c5184a4a Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Wed, 22 Feb 2017 15:46:11 -0800 Subject: [PATCH] [ci skip] Update comment to include reference to problem browser. --- src/standard/configure.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/standard/configure.html b/src/standard/configure.html index 404a21a60b..0be2e913ff 100644 --- a/src/standard/configure.html +++ b/src/standard/configure.html @@ -106,11 +106,14 @@ this._configureProperties(this.behaviors[i].properties, config); } // prototypical behavior - // Read `properties` off of the prototype, as an concession to non-spec - // compliant browsers where a.) HTMLElement's have a non-spec `properties` - // property, and b.) the `properties` accessor is on instances rather - // than `HTMLElement.prototype`; going under the instance to the prototype - // avoids the problem. + // Read `properties` off of the prototype, as a concession to non-spec + // compliant browsers (e.g. Android UC Browser 11.2.0.915) where + // a.) HTMLElement's have a non-spec `properties` property, and + // b.) the `properties` accessor is on instances rather than + // `HTMLElement.prototype`; going under the instance to the prototype + // avoids the problem. Note can't always go to __proto__ due to IE10 + // hence conditional, but IE10 doesn't suffer from the instance properties + // issue (happy coincidence of browser quirks). this._configureProperties(avoidInstanceProperties ? this.__proto__.properties : this.properties, config); // TODO(sorvell): it *may* be faster to loop over _propertyInfo but