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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp

Issue 2863203002: Ignore print() during page dismissal. (Closed)
Patch Set: rebase, fix linux build Created 3 years, 7 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/inspector/InspectorPageAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
index e43f9c7389194a7b613c350553ddde8e307738b5..311f68f8269baf4f3baace5414883527f22372a5 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -106,6 +106,8 @@ String DialogTypeToProtocol(ChromeClient::DialogType dialog_type) {
return protocol::Page::DialogTypeEnum::Prompt;
case ChromeClient::kHTMLDialog:
return protocol::Page::DialogTypeEnum::Beforeunload;
+ case ChromeClient::kPrintDialog:
+ NOTREACHED();
}
return protocol::Page::DialogTypeEnum::Alert;
}

Powered by Google App Engine
This is Rietveld 408576698