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

Unified Diff: chrome/test/chromedriver/chrome/status.cc

Issue 23542015: [chromedriver] Fallback to devtools for screenshotting of forbidden urls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/test/chromedriver/chrome/status.cc
diff --git a/chrome/test/chromedriver/chrome/status.cc b/chrome/test/chromedriver/chrome/status.cc
index dd986944f7f8e12c09d75200eb27ac6e88eea0e7..df5e6b062a1a247f86fdf4b54a3e8e64efeb93a6 100644
--- a/chrome/test/chromedriver/chrome/status.cc
+++ b/chrome/test/chromedriver/chrome/status.cc
@@ -55,6 +55,8 @@ const char* DefaultMessageForStatusCode(StatusCode code) {
return "chrome not reachable";
case kDisconnected:
return "disconnected";
+ case kForbidden:
+ return "forbidden";
default:
return "<unknown>";
}

Powered by Google App Engine
This is Rietveld 408576698