| Index: tools/dom/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| index 15c6f76a5b5348545f6abc893d9583513b1c07f0..25608df74fbfedd2c54ecb7408b8dbd6c677f396 100644
|
| --- a/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
|
| @@ -1474,6 +1474,11 @@ $if DART2JS
|
| return false;
|
| })(#)''', element);
|
| }
|
| +
|
| + /// A secondary check for corruption, needed on IE
|
| + static bool _hasCorruptedAttributesAdditionalCheck(Element element) {
|
| + return JS('bool', r'!(#.attributes instanceof NamedNodeMap)', element);
|
| + }
|
| $else
|
|
|
| static var _namedNodeMap = js.context["NamedNodeMap"];
|
| @@ -1501,6 +1506,9 @@ $else
|
| }
|
| return false;
|
| }
|
| +
|
| + /// A secondary check for corruption, needed on IE
|
| + static bool _hasCorruptedAttributesAdditionalCheck(Element element) => false;
|
| $endif
|
|
|
| static String _safeTagName(element) {
|
|
|