-
abarth@webkit.org authored
Reviewed by Eric Seidel. Teach the HTML5 parser how to lex escaped script data https://bugs.webkit.org/show_bug.cgi?id=39630 Add a bunch of tests for parsing script data. I think these tests drive the lexer into all the script data states. * html5lib/resources/scriptdata01.dat: Added. * html5lib/webkit-runner-expected-html5.txt: * html5lib/webkit-runner-expected.txt: * html5lib/webkit-runner.html: 2010-05-24 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Teach the HTML5 parser how to lex escaped script data https://bugs.webkit.org/show_bug.cgi?id=39630 * html/HTML5Lexer.cpp: (WebCore::HTMLNames::vectorEqualsString): (WebCore::HTML5Lexer::nextToken): (WebCore::HTML5Lexer::temporaryBufferIs): (WebCore::HTML5Lexer::isAppropriateEndTag): (WebCore::HTML5Lexer::maybeFlushBufferedEndTag): (WebCore::HTML5Lexer::flushBufferedEndTag): * html/HTML5Lexer.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
91463047