Index: Source/core/html/parser/BackgroundHTMLParser.cpp |
diff --git a/Source/core/html/parser/BackgroundHTMLParser.cpp b/Source/core/html/parser/BackgroundHTMLParser.cpp |
index 0b2d141e3020c4029dce6e62956a2517c462dd8b..8666c41a0f62d44a6a282a9c6c052f88d2d50d89 100644 |
--- a/Source/core/html/parser/BackgroundHTMLParser.cpp |
+++ b/Source/core/html/parser/BackgroundHTMLParser.cpp |
@@ -267,6 +267,7 @@ void BackgroundHTMLParser::sendTokensToMainThread() |
chunk->tokens = m_pendingTokens.release(); |
chunk->startingScript = m_startingScript; |
m_startingScript = false; |
+ usleep(100 * 1000); |
callOnMainThread(bind(&HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser, m_parser, chunk.release())); |
m_pendingTokens = adoptPtr(new CompactHTMLTokenStream); |