Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: third_party/WebKit/Source/core/dom/DocumentTest.cpp

Issue 2837763003: Reland "Move most of FrameLoader::CheckCompleted() to Document" (Closed)
Patch Set: Fix comment typos Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/DocumentTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentTest.cpp b/third_party/WebKit/Source/core/dom/DocumentTest.cpp
index dff68f7638bacf8d43e10059160dc22896aea3dd..43b0c0164ea6e3174bbf897cbac0461f2d0d91e5 100644
--- a/third_party/WebKit/Source/core/dom/DocumentTest.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentTest.cpp
@@ -727,10 +727,10 @@ TEST_F(DocumentTest, ValidationMessageCleanup) {
MockValidationMessageClient* mock_client = new MockValidationMessageClient();
GetDocument().GetSettings()->SetScriptEnabled(true);
GetPage().SetValidationMessageClient(mock_client);
- // implicitOpen()-implicitClose() makes Document.loadEventFinished()
+ // ImplicitOpen()-CancelParsing() makes Document.loadEventFinished()
// true. It's necessary to kick unload process.
GetDocument().ImplicitOpen(kForceSynchronousParsing);
- GetDocument().ImplicitClose();
+ GetDocument().CancelParsing();
GetDocument().AppendChild(GetDocument().createElement("html"));
SetHtmlInnerHTML("<body><input required></body>");
Element* script = GetDocument().createElement("script");

Powered by Google App Engine
This is Rietveld 408576698