Skip to content

Commit 2b92879

Browse files
committed
Bug 1610196 [wpt PR 21252] - Enforce character restrictions for registerProtocolHandler scheme, a=testonly
Automatic update from web-platform-tests Enforce character restrictions for registerProtocolHandler scheme Schemes that begin with the prefix "web+" must contain one or more ASCII lower alphas, forbidding other characters. Chrome previously allowed any character otherwise valid in URI schemes. Now, it matches the HTML5 spec (https://html.spec.whatwg.org/#custom-handlers) and Firefox. Bug: 1019995 Change-Id: Id1b86eb75ca2159fc6b2c2bd1b96adac6ba494c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2009825 Commit-Queue: Eric Lawrence [MSFT] <ericlawmicrosoft.com> Reviewed-by: Gyuyoung Kim <gyuyoungigalia.com> Reviewed-by: Kentaro Hara <harakenchromium.org> Cr-Commit-Position: refs/heads/master{#733234} -- wpt-commits: d7faaa65a15ef351c882e1b457ecee7070ea24c6 wpt-pr: 21252 UltraBlame original commit: 7efbeabe4b95b0da56e1499c92c561061f3ff208
1 parent a5f8707 commit 2b92879

File tree

1 file changed

+39
-0
lines changed
  • testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object

1 file changed

+39
-0
lines changed

testing/web-platform/tests/html/webappapis/system-state-and-capabilities/the-navigator-object/protocol.https.html

+39
Original file line numberDiff line numberDiff line change
@@ -942,9 +942,48 @@
942942
:
943943
sip
944944
'
945+
/
946+
*
947+
web
948+
+
949+
prefixed
950+
schemes
951+
must
952+
be
953+
followed
954+
by
955+
1
956+
+
957+
ascii
958+
alphas
959+
*
960+
/
961+
'
962+
web
963+
+
964+
'
965+
'
966+
web
967+
+
968+
dots
969+
.
970+
are
971+
.
972+
forbidden
973+
'
974+
'
975+
web
976+
+
977+
dashes
978+
-
979+
are
980+
-
981+
forbidden
982+
'
945983
'
946984
web
947985
+
986+
digits123areforbidden
948987
'
949988
]
950989
;

0 commit comments

Comments
 (0)