Changeset 20607 in webkit


Ignore:
Timestamp:
Mar 29, 2007 7:36:16 PM (17 years ago)
Author:
weinig
Message:

LayoutTests:

Reviewed by Darin.

  • fast/tokenizer/write-partial-entity-expected.txt: Added.
  • fast/tokenizer/write-partial-entity.html: Added.

WebCore:

Reviewed by Darin.

Test: fast/tokenizer/write-partial-entity.html

  • html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::parseTag): Reordered to avoid resetting the buffer position after script execution which can write to the buffer.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r20606 r20607  
     12007-03-29  Mitz Pettel  <mitz@webkit.org>
     2
     3        Reviewed by Darin.
     4
     5        - test for http://bugs.webkit.org/show_bug.cgi?id=13166
     6          REGRESSION (2005-10-16 - 2005-10-19): Ampersands showing up in the last column of the Gmail contacts table
     7
     8        * fast/tokenizer/write-partial-entity-expected.txt: Added.
     9        * fast/tokenizer/write-partial-entity.html: Added.
     10
    1112007-03-29  Justin Garcia  <justin.garcia@apple.com>
    212
  • trunk/WebCore/ChangeLog

    r20606 r20607  
     12007-03-29  Mitz Pettel  <mitz@webkit.org>
     2
     3        Reviewed by Darin.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=13166
     6          REGRESSION (2005-10-16 - 2005-10-19): Ampersands showing up in the last column of the Gmail contacts table
     7
     8        Test: fast/tokenizer/write-partial-entity.html
     9
     10        * html/HTMLTokenizer.cpp:
     11        (WebCore::HTMLTokenizer::parseTag): Reordered to avoid resetting the buffer position
     12        after script execution which can write to the buffer.
     13
    1142007-03-29  Justin Garcia  <justin.garcia@apple.com>
    215
  • trunk/WebCore/html/HTMLTokenizer.cpp

    r19590 r20607  
    11621162
    11631163            RefPtr<Node> n = processToken();
     1164            m_cBufferPos = cBufferPos;
    11641165            if (n) {
    11651166                if ((tagName == preTag || tagName == listingTag) && !inViewSourceMode()) {
     
    12261227            if (tagName == plaintextTag)
    12271228                state.setInPlainText(beginTag);
    1228             m_cBufferPos = cBufferPos;
    12291229            return state; // Finished parsing tag!
    12301230        }
Note: See TracChangeset for help on using the changeset viewer.