Commit ca0d440
[extensions] Fail-open determining if extensions may see a (file) URL
We prevent language extensions from learning about file URLs unless they
already have file access. If a URL string fails to parse we should allow
it, since even if it's a relative URL we also validate the base.
Fixed: 396169337
Change-Id: I11f8a6f0c6f3b7c67c73c61dcdf9511137bbca04
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6263086
Auto-Submit: Philip Pfaffe <[email protected]>
Commit-Queue: Danil Somsikov <[email protected]>
Reviewed-by: Danil Somsikov <[email protected]>1 parent 19ea45c commit ca0d440
File tree
2 files changed
+4
-1
lines changed- front_end/models/extensions
2 files changed
+4
-1
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments