Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index 15d17c07aa21f4005c533b22a95a2203c5b06c0b..b581f65c8b827f0d2579d46979f51d5789803cd9 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -40924,8 +40924,7 @@ class _ValidatingTreeSanitizer implements NodeTreeSanitizer { |
// On IE, erratically, the hasCorruptedAttributes test can return false, |
// even though it clearly is corrupted. A separate copy of the test |
// inlining just the basic check seems to help. |
- var corruptedTest2 = Element._hasCorruptedAttributesAdditionalCheck(element); |
- corrupted = corruptedTest1 || corruptedTest2; |
+ corrupted = corruptedTest1 ? true : Element._hasCorruptedAttributesAdditionalCheck(element); |
} catch(e) {} |
var elementText = 'element unprintable'; |
try { |