Commit c365bd25 authored by Kouhei Ueno's avatar Kouhei Ueno Committed by Commit Bot

retire CHECK(false)

Bug: 695730, 696775, 686281
Change-Id: Id11515ceb7ce61fa15411a57ac4a105d03f3e6e6
Reviewed-on: https://chromium-review.googlesource.com/1065559Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560258}
parent cdc3f283
...@@ -260,20 +260,8 @@ void HTMLParserScriptRunner::PendingScriptFinished( ...@@ -260,20 +260,8 @@ void HTMLParserScriptRunner::PendingScriptFinished(
if (IsExecutingScript() && pending_script->WasCanceled()) { if (IsExecutingScript() && pending_script->WasCanceled()) {
pending_script->Dispose(); pending_script->Dispose();
if (pending_script == ParserBlockingScript()) { DCHECK_EQ(pending_script, ParserBlockingScript());
parser_blocking_script_ = nullptr; parser_blocking_script_ = nullptr;
} else {
CHECK_EQ(pending_script, scripts_to_execute_after_parsing_.front());
// TODO(hiroshige): Remove this CHECK() before going to beta.
// This is only to make clusterfuzz to find a test case that executes
// this code path.
CHECK(false);
scripts_to_execute_after_parsing_.pop_front();
// TODO(hiroshige): executeScriptsWaitingForParsing() should be
// called later at the appropriate time. https://crbug.com/696775
}
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment