Skip to content
  • abarth@webkit.org's avatar
    2011-01-06 Adam Barth <abarth@webkit.org> · 79eb8292
    abarth@webkit.org authored
            Reviewed by Darin Adler.
    
            REGRESSION (r74663): ASSERTION FAILED: m_tokenizer->lineNumber() == line.zeroBasedInt()
            https://bugs.webkit.org/show_bug.cgi?id=52013
    
            This test case used to trigger an ASSERT.  It's unclear to me whether
            there's a more direct way to test this fix.
    
            * fast/parser/line-number-composite-segmented-string-expected.txt: Added.
            * fast/parser/line-number-composite-segmented-string.html: Added.
    2011-01-06  Adam Barth  <abarth@webkit.org>
    
            Reviewed by Darin Adler.
    
            REGRESSION (r74663): ASSERTION FAILED: m_tokenizer->lineNumber() == line.zeroBasedInt()
            https://bugs.webkit.org/show_bug.cgi?id=52013
    
            When excluding line numbers for composite strings, we forgot to exclude
            the line number for the current string!
    
            Test: fast/parser/line-number-composite-segmented-string.html
    
            * platform/text/SegmentedString.cpp:
            (WebCore::SegmentedString::setExcludeLineNumbers):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    79eb8292