Changeset 162687 in webkit
- Timestamp:
- Jan 23, 2014, 9:21:21 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r162686 r162687 1 2014-01-23 Dan Bernstein <mitz@apple.com> 2 3 <rdar://problem/15875326> REGRESSION (r162257): Assertion failure (should not be reached) in CSSPreloadScanner::tokenize() 4 https://bugs.webkit.org/show_bug.cgi?id=127540 5 6 Reviewed by Anders Carlsson. 7 8 No new tests, because I could not reproduce the bug reliably and I don’t know how to trigger 9 it. 10 11 * html/parser/CSSPreloadScanner.cpp: 12 (WebCore::CSSPreloadScanner::scan): Check for the DoneParsingImportRules before tokenizing 13 a character, not after. This restores the logic from before r162257. 14 1 15 2014-01-23 Jer Noble <jer.noble@apple.com> 2 16 -
trunk/Source/WebCore/html/parser/CSSPreloadScanner.cpp
r162275 r162687 57 57 58 58 for (UChar c : data) { 59 if (m_state == DoneParsingImportRules) 60 break; 61 59 62 tokenize(c); 60 61 if (m_state == DoneParsingImportRules)62 break;63 63 } 64 64 }
Note:
See TracChangeset
for help on using the changeset viewer.