-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
URL: Disallow a switch from a special scheme URL to a non-special scheme
The CL is a part of the URL Interop 2023. Chrome currently allows setting a non-special scheme on a special schema URL. This is not compliant with the URL standard. Before this CL: > const url = new URL("https://example.com/"); > url.protocol = "non-special"; > url.href "non-special://example.com/" After this CL: > const url = new URL("https://example.com/"); > url.protocol = "non-special"; > url.href "https://example.com/" UMA [1] (Canary) is nearly 0%, so we can probably skip "Intent to Ship" process, considering this is a bug fix. [1] https://uma.googleplex.com/p/chrome/timeline_v2/?sid=a15c7dcb7c7442a06bd62f9007872d64 Bug: 1416018 Change-Id: Ibb496f2dc0c15e6579aab4a4b03e773b362dae4e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4744799 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Hayato Ito <hayato@chromium.org> Cr-Commit-Position: refs/heads/main@{#1184500}
- Loading branch information
Showing
24 changed files
with
83 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
...ers/history/the-location-interface/location-protocol-setter-non-broken-weird-expected.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 0 additions & 46 deletions
46
...tests/platform/linux/external/wpt/url/url-setters-a-area.window_include=file-expected.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
...eb_tests/platform/linux/external/wpt/url/url-setters.any.worker_include=file-expected.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
...blink/web_tests/platform/linux/external/wpt/url/url-setters.any_include=file-expected.txt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.