Changeset 140209 in webkit
- Timestamp:
- Jan 18, 2013 2:34:28 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140208 r140209 1 2013-01-18 Tony Gentilcore <tonyg@chromium.org> 2 3 Run defer scripts in the threaded HTML parser 4 https://bugs.webkit.org/show_bug.cgi?id=107320 5 6 Reviewed by Eric Seidel. 7 8 No new tests because covered by http/tests/misc/script-defer.html. 9 10 * html/parser/HTMLDocumentParser.cpp: 11 (WebCore::HTMLDocumentParser::prepareToStopParsing): 12 (WebCore::HTMLDocumentParser::didReceiveTokensFromBackgroundParser): 13 1 14 2013-01-18 Robert Hogan <robert@webkit.org> 2 15 -
trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp
r140058 r140209 149 149 // NOTE: This pump should only ever emit buffered character tokens, 150 150 // so ForceSynchronous vs. AllowYield should be meaningless. 151 pumpTokenizerIfPossible(ForceSynchronous); 151 if (!shouldUseThreading()) 152 pumpTokenizerIfPossible(ForceSynchronous); 152 153 153 154 if (isStopped()) … … 299 300 if (it->type() == HTMLTokenTypes::EndOfFile) { 300 301 ASSERT(it + 1 == tokens.end()); // The EOF is assumed to be the last token of this bunch. 301 DocumentParser::prepareToStopParsing(); 302 document()->setReadyState(Document::Interactive); 303 end(); 302 prepareToStopParsing(); 304 303 return; 305 304 }
Note: See TracChangeset
for help on using the changeset viewer.