Commit b37e479
Revert "[pdf] Change IsPdfExtensionUrl() to IsPdfExtensionOrigin()"
This reverts commit db57e30.
Reason for revert: breaks builds in several perf bots
https://ci.chromium.org/ui/p/chrome/builders/ci/linux-builder-perf/349623/overview
Original change's description:
> [pdf] Change IsPdfExtensionUrl() to IsPdfExtensionOrigin()
>
> The check really pertains to the origin, not the entire URL. It also
> allows for a merging of logic between IsPdfExtensionOrigin() and
> IsPdfInternalPluginAllowedOrigin(). Furthermore, it makes the function
> more appropriate for security checks.
>
> Use IsPdfInternalPluginAllowedOrigin() in the implementation of
> ChromePrintRenderFrameHelperDelegate::GetPdfElement().
>
> Change-Id: Ia8a6bb99a9e2d19b8bc857525ac74ac93e29c565
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3200416
> Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
> Reviewed-by: Lei Zhang <thestig@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#927504}
NOTREECHECKS
Change-Id: Id8f4ceb05d79e5f93af6e42aaaae8398103b3ed8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3201368
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Johann Koenig <johannkoenig@google.com>
Commit-Queue: Johann Koenig <johannkoenig@google.com>
Owners-Override: Johann Koenig <johannkoenig@google.com>
Cr-Commit-Position: refs/heads/main@{#927565}1 parent 612a943 commit b37e479
File tree
5 files changed
+16
-11
lines changed- chrome
- browser
- common
- renderer/printing
5 files changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2920 | 2920 | | |
2921 | 2921 | | |
2922 | 2922 | | |
2923 | | - | |
| 2923 | + | |
2924 | 2924 | | |
2925 | 2925 | | |
2926 | 2926 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2269 | 2269 | | |
2270 | 2270 | | |
2271 | 2271 | | |
2272 | | - | |
2273 | | - | |
| 2272 | + | |
2274 | 2273 | | |
2275 | 2274 | | |
2276 | 2275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
| 57 | + | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments