forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tighten file: URLs exception for browser-vs-renderer origin comparison.
The CL tweaks VerifyThatBrowserAndRendererCalculatedOriginsToCommitMatch so that the only remaining browser-vs-renderer exception is only applied on Windows (the only platform where it is needed). (The opaqueness check is removed because it was redundant with checking that schemes match.) This CL also adds unit tests that demonstrate the root problem here (that some problematic GURLs do not round-trip via IPC serialization). Bug: 1214098 Change-Id: I9cdb5508b53c7c5a3d6d780d409da45532c55c39 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2910502 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#889101}
- Loading branch information
1 parent
37fb09b
commit d087c43
Showing
4 changed files
with
228 additions
and
77 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