Changeset 52609 in webkit


Ignore:
Timestamp:
Dec 28, 2009 10:41:26 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-28 Charles Wei <charles.wei@torchmobile.com.cn>

Reviewed by Maciej Stachowiak.

Remove the macro ENABLE(XHTMLMP) for noscriptAreateErrorCheck in HTMLParser,
since with XHTMLMP enabled, it's not checking create Errors, and then contents inside
<noscript> are always parsed and rendered.
https://bugs.webkit.org/show_bug.cgi?id=32706

Tests: fast/parser/noscript-with-javascript-disabled.html

fast/parser/noscript-with-javascript-enabled.html

  • html/HTMLParser.cpp: (WebCore::HTMLParser::getNode):

2009-12-28 Charles Wei <charles.wei@torchmobile.com.cn>

Reviewed by Maciej Stachowiak.

Add test cases for <noscript> with both Javascript enabled and disabled
https://bugs.webkit.org/show_bug.cgi?id=32706

  • fast/parser/noscript-with-javascript-disabled-expected.txt: Added.
  • fast/parser/noscript-with-javascript-disabled.html: Added.
  • fast/parser/noscript-with-javascript-enabled-expected.txt: Added.
  • fast/parser/noscript-with-javascript-enabled.html: Added.
Location:
trunk
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r52608 r52609  
     12009-12-28  Charles Wei  <charles.wei@torchmobile.com.cn>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Add test cases for <noscript> with both Javascript enabled and disabled
     6        https://bugs.webkit.org/show_bug.cgi?id=32706
     7
     8
     9        * fast/parser/noscript-with-javascript-disabled-expected.txt: Added.
     10        * fast/parser/noscript-with-javascript-disabled.html: Added.
     11        * fast/parser/noscript-with-javascript-enabled-expected.txt: Added.
     12        * fast/parser/noscript-with-javascript-enabled.html: Added.
     13
    1142009-12-28  Kinuko Yasuda  <kinuko@chromium.org>
    215
  • trunk/WebCore/ChangeLog

    r52608 r52609  
     12009-12-28  Charles Wei  <charles.wei@torchmobile.com.cn>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Remove the macro ENABLE(XHTMLMP) for noscriptAreateErrorCheck in HTMLParser,
     6        since with XHTMLMP enabled, it's not checking create Errors,  and then contents inside
     7        <noscript> are always parsed and rendered.
     8        https://bugs.webkit.org/show_bug.cgi?id=32706
     9
     10        Tests: fast/parser/noscript-with-javascript-disabled.html
     11               fast/parser/noscript-with-javascript-enabled.html
     12
     13        * html/HTMLParser.cpp:
     14        (WebCore::HTMLParser::getNode):
     15
    1162009-12-28  Kinuko Yasuda  <kinuko@chromium.org>
    217
  • trunk/WebCore/html/HTMLParser.cpp

    r52596 r52609  
    943943        gFunctionMap.set(noembedTag.localName().impl(), &HTMLParser::noembedCreateErrorCheck);
    944944        gFunctionMap.set(noframesTag.localName().impl(), &HTMLParser::noframesCreateErrorCheck);
    945 #if !ENABLE(XHTMLMP)
    946945        gFunctionMap.set(noscriptTag.localName().impl(), &HTMLParser::noscriptCreateErrorCheck);
    947 #endif
    948946        gFunctionMap.set(olTag.localName().impl(), &HTMLParser::pCloserCreateErrorCheck);
    949947        gFunctionMap.set(pTag.localName().impl(), &HTMLParser::pCloserCreateErrorCheck);
Note: See TracChangeset for help on using the changeset viewer.