-
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.
[Files SWA]: Fix file system URL regex mismatch.
When we switch to Files System Web App the file system URLs change from a method that returns the correct prefix, based on the state of the FilesSWA flag. It adds a tests for it. It factors out RegEx pattern generation to a single function that uses the newly introduced helper function. Then it uses this single function in places where RegEx patterns were generated. filesystem: chrome-extension://.* to filesystem:chrome://.*. This CL adds Bug: b/225222557 Change-Id: I771eac42e3609dffb1b4980e5d6c7f906e141d66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3538163 Reviewed-by: Luciano Pacheco <lucmult@chromium.org> Reviewed-by: Samuel Huang <huangs@chromium.org> Reviewed-by: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Commit-Queue: Bo Majewski <majewski@chromium.org> Cr-Commit-Position: refs/heads/main@{#984248}
- Loading branch information
Bo Majewski
authored and
Chromium LUCI CQ
committed
Mar 23, 2022
1 parent
46fb188
commit 4a55312
Showing
3 changed files
with
68 additions
and
16 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