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

Unified Diff: chrome/browser/extensions/window_open_apitest.cc

Issue 2787573003: Remove DumpWithoutCrashing from ShouldAllowOpenURL. (Closed)
Patch Set: Created 3 years, 9 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: chrome/browser/extensions/window_open_apitest.cc
diff --git a/chrome/browser/extensions/window_open_apitest.cc b/chrome/browser/extensions/window_open_apitest.cc
index c2e84645200e18e2fb2117d8ee54362728ce26e1..1b31d161937be5c301f345d7440ff79ebf3ec99e 100644
--- a/chrome/browser/extensions/window_open_apitest.cc
+++ b/chrome/browser/extensions/window_open_apitest.cc
@@ -325,6 +325,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionBrowserTest,
uma.ExpectUniqueSample("Extensions.ShouldAllowOpenURL.Failure",
2, /* FAILURE_SCHEME_NOT_HTTP_OR_HTTPS_OR_EXTENSION */
1);
+ uma.ExpectUniqueSample("Extensions.ShouldAllowOpenURL.Failure.Scheme",
+ 6 /* SCHEME_DATA */, 1);
}
// Test that navigating to an extension URL is allowed on chrome:// and

Powered by Google App Engine
This is Rietveld 408576698