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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-expected.txt

Issue 2022203002: Import wpt@d510ec1abc30eee4c855c13842bc2f0dfa791f8b (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Message changed by testharness.js update Created 4 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/LayoutTests/imported/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-expected.txt
index 7c327dadf1ef74ebe5f5812773aadec984609b8a..d528c9dd6d5435073c47694df8a81ddb99559c34 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-expected.txt
@@ -15,11 +15,11 @@ PASS a url argument without %s should throw SYNTAX_ERR
PASS a url argument pointing to a different domain name, without %s should throw SYNTAX_ERR
PASS a url argument without %s (but with %) should throw SYNTAX_ERR
PASS a url argument without %s (but with %a) should throw SYNTAX_ERR
-FAIL a url argument pointing to a different domain name should throw SECURITY_ERR assert_throws: function "function () { navigator.registerProtocolHandler('mailto',..." did not throw
-FAIL a url argument pointing to a different domain name should throw SECURITY_ERR (2) assert_throws: function "function () { navigator.registerProtocolHandler('mailto',..." did not throw
-FAIL a url argument pointing to a different domain name should throw SECURITY_ERR (3) assert_throws: function "function () { navigator.registerProtocolHandler('mailto',..." did not throw
-FAIL looping handlers should throw SECURITY_ERR assert_throws: function "function () { navigator.registerProtocolHandler('mailto',..." did not throw
-FAIL a url argument pointing to a non-http[s] scheme should throw SECURITY_ERR due to not being of the same origin assert_throws: function "function () { navigator.registerProtocolHandler('sms', 't..." did not throw
+FAIL a url argument pointing to a different domain name should throw SECURITY_ERR assert_throws: function "function () { navigator.registerProtocolHandler('mailto', 'http://example.com/%s', 'foo') }" did not throw
+FAIL a url argument pointing to a different domain name should throw SECURITY_ERR (2) assert_throws: function "function () { navigator.registerProtocolHandler('mailto', 'https://example.com/%s', 'foo') }" did not throw
+FAIL a url argument pointing to a different domain name should throw SECURITY_ERR (3) assert_throws: function "function () { navigator.registerProtocolHandler('mailto', 'http://foobar.example.com/%s', 'foo') }" did not throw
+FAIL looping handlers should throw SECURITY_ERR assert_throws: function "function () { navigator.registerProtocolHandler('mailto', 'mailto:%s@example.com', 'foo') }" did not throw
+FAIL a url argument pointing to a non-http[s] scheme should throw SECURITY_ERR due to not being of the same origin assert_throws: function "function () { navigator.registerProtocolHandler('sms', 'tel:%s', 'foo') }" did not throw
PASS a protocol argument containing an unrecognized scheme should throw SECURITY_ERR
PASS a protocol argument containing : should throw SYNTAX_ERR
PASS a protocol argument containing :// should throw SYNTAX_ERR

Powered by Google App Engine
This is Rietveld 408576698