-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add navigator.deprecatedReplaceInURN for FLEDGE
This function is only available when FLEDGE ads are allowed in iframes. It replaces sequences beginning/ending with "%%"/"%%" or "${"/"}" that appear in the URL with the specified substitution. Note that this replacement occurs after URL parsing, so replacements that want to match an item need to match the parsed representation according to the URL spec (https://url.spec.whatwg.org/#url-parsing). In the case of the URL path, the characters '{' and '}' will be percent-encoded during parsing so the "${"/"}" replacement scheme cannot be used on a URL path, though the "%%" replacement scheme still works. Both replacement types can be used in the query parameters and fragment portions of the URL. The URL created by the replacement will be parsed again by the browser. Bug: 1322194 Change-Id: Ie0fd3478760e390fe774aee3078ba306a5fbd76c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3625390 Commit-Queue: Russ Hamilton <behamilton@google.com> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Dominic Farolino <dom@chromium.org> Cr-Commit-Position: refs/heads/main@{#1002835}
- Loading branch information
1 parent
866df27
commit 74807ed
Showing
12 changed files
with
377 additions
and
10 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
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
Oops, something went wrong.