Skip to content
  • abarth@webkit.org's avatar
    2010-05-26 Adam Barth <abarth@webkit.org> · 656187c0
    abarth@webkit.org authored
            Reviewed by Eric Seidel.
    
            Make HTML5 lexer not ASSERT when resuming partial parses
            https://bugs.webkit.org/show_bug.cgi?id=39755
    
            Add a test suite for partial parsing.  This test runs all our parsing
            test cases, but stops and starts the parser at every character in the
            parse stream to make sure we resume parsing properly.  Currently, a
            bunch of the test cases are commented out, but I'll comment them back
            in as I get them running.
    
            * html5lib/webkit-resumer-expected-html5.txt: Added.
            * html5lib/webkit-resumer-expected.txt: Added.
            * html5lib/webkit-resumer.html: Added.
    2010-05-26  Adam Barth  <abarth@webkit.org>
    
            Reviewed by Eric Seidel.
    
            Make HTML5 lexer not ASSERT when resuming partial parses
            https://bugs.webkit.org/show_bug.cgi?id=39755
    
            I'm working through a variation of the webkit-runner.html test suite
            that stops the parser at every character to make sure we can resume
            parsing correctly.  This patch fixes some errors caught by ASSERTs,
            which prevent the basic tests from running to completion.  There's a
            bunch more work to do, however.
    
            Test: html5lib/webkit-resumer.html
    
            * html/HTML5Lexer.cpp:
            (WebCore::HTMLNames::isEndTagBufferingState):
            (WebCore::HTML5Lexer::nextToken):
            (WebCore::HTML5Lexer::addToPossibleEndTag):
            * html/HTML5Lexer.h:
            * html/HTML5Tokenizer.cpp:
            (WebCore::HTML5Tokenizer::write):
            * html/HTML5Tokenizer.h:
    2010-05-26  Adam Barth  <abarth@webkit.org>
    
            Reviewed by Eric Seidel.
    
            Make HTML5 lexer not ASSERT when resuming partial parses
            https://bugs.webkit.org/show_bug.cgi?id=39755
    
            Add webkit-resumer.html to the HTML5 parser test suite.
    
            * Scripts/test-html5-parser:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    656187c0