Changeset 83321 in webkit


Ignore:
Timestamp:
Apr 8, 2011 11:55:37 AM (13 years ago)
Author:
Antti Koivisto
Message:

Incoming source should be preload scanned when the parser is blocked
https://bugs.webkit.org/show_bug.cgi?id=58117

Reviewed by Tony Gentilcore.

Source/WebCore:

Scan the appended source if parser is blocked.

Test: http/tests/loading/preload-append-scan.php

  • html/parser/HTMLDocumentParser.cpp:

(WebCore::HTMLDocumentParser::append):

LayoutTests:

  • http/tests/loading/preload-append-scan-expected.txt: Added.
  • http/tests/loading/preload-append-scan.php: Added.
  • http/tests/resources/slow-script.pl: Added.
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r83318 r83321  
     12011-04-08  Antti Koivisto  <antti@apple.com>
     2
     3        Reviewed by Tony Gentilcore.
     4
     5        Incoming source should be preload scanned when the parser is blocked
     6        https://bugs.webkit.org/show_bug.cgi?id=58117
     7
     8        * http/tests/loading/preload-append-scan-expected.txt: Added.
     9        * http/tests/loading/preload-append-scan.php: Added.
     10        * http/tests/resources/slow-script.pl: Added.
     11
    1122011-04-08  Jian Li  <jianli@chromium.org>
    213
     
    99359946        * platform/mac/tables/mozilla/bugs/bug51140-expected.txt:
    99369947
    9937 >>>>>>> .r82178
    993899482011-03-25  Geoffrey Garen  <ggaren@apple.com>
    99399949
     
    1308613096        * platform/win-wk2/inspector/console/command-line-api-inspect-expected.txt: Added.
    1308713097
    13088 >>>>>>> .r81488
    13089130982011-03-18  Alexander Pavlov  <apavlov@chromium.org>
    1309013099
  • trunk/Source/WebCore/ChangeLog

    r83319 r83321  
     12011-04-08  Antti Koivisto  <antti@apple.com>
     2
     3        Reviewed by Tony Gentilcore.
     4
     5        Incoming source should be preload scanned when the parser is blocked
     6        https://bugs.webkit.org/show_bug.cgi?id=58117
     7
     8        Scan the appended source if parser is blocked.
     9
     10        Test: http/tests/loading/preload-append-scan.php
     11
     12        * html/parser/HTMLDocumentParser.cpp:
     13        (WebCore::HTMLDocumentParser::append):
     14
    1152011-04-08  Martin Robinson  <mrobinson@igalia.com>
    216
  • trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp

    r82631 r83321  
    346346
    347347    m_input.appendToEnd(source);
    348     if (m_preloadScanner)
     348    if (m_preloadScanner) {
    349349        m_preloadScanner->appendToEnd(source);
     350        if (m_treeBuilder->isPaused())
     351            m_preloadScanner->scan();
     352    }
    350353
    351354    if (inPumpSession()) {
Note: See TracChangeset for help on using the changeset viewer.