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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/navigatorcontentutils/register-protocol-handler.html

Issue 2378773003: Add version control URI schemes to registerProtocolHandler safelist
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/navigatorcontentutils/unregister-protocol-handler.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/navigatorcontentutils/register-protocol-handler.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigatorcontentutils/register-protocol-handler.html b/third_party/WebKit/LayoutTests/http/tests/navigatorcontentutils/register-protocol-handler.html
index 8188aa6dbd9d1b4b3cfff929fc3f5e6e20d87740..a2391d96c0543a4b82de17ce9a992c7151170b71 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigatorcontentutils/register-protocol-handler.html
+++ b/third_party/WebKit/LayoutTests/http/tests/navigatorcontentutils/register-protocol-handler.html
@@ -31,7 +31,7 @@ invalid_schemes.forEach(function (scheme) {
debug('FAIL Invalid scheme "' + scheme + '" allowed.');
});
-var valid_schemes = ['bitcoin', 'BitcoIn', 'geo', 'im', 'irc', 'Irc', 'ircs', 'magnet', 'MagneT', 'mailto', 'mms', 'news', 'nntp', 'openpgp4fpr', 'sip', 'sms', 'smsto', 'SmsTo', 'ssh', 'tel', 'urn', 'webcal', 'WebCAL', 'wtai', 'WTAI', 'xmpp'];
+var valid_schemes = ['bitcoin', 'BitcoIn', 'geo', 'git', 'git+http', 'git+https', 'git+ssh', 'im', 'irc', 'Irc', 'ircs', 'magnet', 'MagneT', 'mailto', 'mms', 'news', 'nntp', 'openpgp4fpr', 'sip', 'sms', 'smsto', 'SmsTo', 'ssh', 'tel', 'urn', 'webcal', 'WebCAL', 'wtai', 'WTAI', 'xmpp'];
valid_schemes.forEach(function (scheme) {
var succeeded = false;
try {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/navigatorcontentutils/unregister-protocol-handler.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698