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

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

Issue 2863203002: Ignore print() during page dismissal. (Closed)
Patch Set: rebase, addressing comments 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 cc099a0ece5228f46d497f8c992c58385c34314c..f95657b93ef11e4fba14007571ce85585e42aae1 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;
}
« no previous file with comments | « chrome/browser/chrome_site_per_process_browsertest.cc ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698