| Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| index 34627dcc7fe3a88700b86dd4fc261341fb42d116..898e0648d3dc7d8e6eed49214ef47da99df08b67 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
|
| @@ -937,7 +937,11 @@ void HTMLDocumentParser::resumeParsingAfterScriptExecution()
|
| if (m_haveBackgroundParser) {
|
| validateSpeculations(std::move(m_lastChunkBeforeScript));
|
| ASSERT(!m_lastChunkBeforeScript);
|
| - pumpPendingSpeculations();
|
| + if (true || RuntimeEnabledFeatures::yieldAfterScriptExecutionEnabled()) {
|
| + m_parserScheduler->scheduleForResume();
|
| + } else {
|
| + pumpPendingSpeculations();
|
| + }
|
| return;
|
| }
|
|
|
|
|