Changeset 89258 in webkit
- Timestamp:
- Jun 20, 2011 10:51:40 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r89257 r89258 1 2011-06-20 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Alexey Proskuryakov. 4 5 ASSERT in WebCore::HTMLToken::appendToAttributeName when visiting www.nba.com 6 https://bugs.webkit.org/show_bug.cgi?id=61774 7 8 * fast/parser/attributes-on-close-script-expected.txt: Added. 9 * fast/parser/attributes-on-close-script.html: Added. 10 1 11 2011-06-20 Juan C. Montemayor <jmont@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r89254 r89258 1 2011-06-20 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Alexey Proskuryakov. 4 5 ASSERT in WebCore::HTMLToken::appendToAttributeName when visiting www.nba.com 6 https://bugs.webkit.org/show_bug.cgi?id=61774 7 8 This ASSERT triggers for the same underlying issue that causes 9 Bug 62971: When we tokenize a </script> tag, we don't realize that 10 we've already consumed the "</script>" from the input stream when we 11 extracted the previous token. That causes the source tracker to be 12 out-of-sync, triggering the incorrect view-source highlighting and this 13 ASSERT. 14 15 For now, let's just silence the assert while we work on Bug 62971. 16 17 Test: fast/parser/attributes-on-close-script.html 18 19 * html/parser/HTMLToken.h: 20 (WebCore::HTMLToken::appendToAttributeName): 21 (WebCore::AtomicHTMLToken::initializeAttributes): 22 1 23 2011-06-20 Andras Becsi <abecsi@webkit.org> 2 24 -
trunk/Source/WebCore/html/parser/HTMLToken.h
r88411 r89258 211 211 ASSERT(character); 212 212 ASSERT(m_type == StartTag || m_type == EndTag); 213 ASSERT(m_currentAttribute->m_nameRange.m_start); 213 // FIXME: We should be able to add the following ASSERT once we fix 214 // https://bugs.webkit.org/show_bug.cgi?id=62971 215 // ASSERT(m_currentAttribute->m_nameRange.m_start); 214 216 m_currentAttribute->m_name.append(character); 215 217 } … … 546 548 continue; 547 549 548 ASSERT(attribute.m_nameRange.m_start); 550 // FIXME: We should be able to add the following ASSERT once we fix 551 // https://bugs.webkit.org/show_bug.cgi?id=62971 552 // ASSERT(attribute.m_nameRange.m_start); 549 553 ASSERT(attribute.m_nameRange.m_end); 550 554 ASSERT(attribute.m_valueRange.m_start);
Note: See TracChangeset
for help on using the changeset viewer.