Commit 876647d
committed
Bug 1690981 [wpt PR 27500] - CSP: Remove 'plugin-types' directive, a=testonly
Automatic update from web-platform-tests
CSP: Remove 'plugin-types' directive
The Content Security Policy directive 'plugin-types' is being removed
by the specification
(w3c/webappsec-csp#456). This CL removes the
code parsing and checking the 'plugin-types' directive from Blink and
from the services/network CSP parser. All WP tests for plugin-types
are removed, too.
When parsing a plugin-types directive, we display a console error
message informing that the directive has been removed and that
object-src can be used instead.
Bug: 1168001
Change-Id: I61420677a0f11f8daf46c473e578d66c932751d1
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643282
Reviewed-by: Arthur Sonzogni <arthursonzognichromium.org>
Reviewed-by: Mike West <mkwstchromium.org>
Commit-Queue: Antonio Sartori <antoniosartorichromium.org>
Cr-Commit-Position: refs/heads/master{#851760}
--
wpt-commits: 8959b13684b68186781340c044d9c1b62a388358
wpt-pr: 27500
UltraBlame original commit: d137cd61151f86944a50e788d152c45f3323d3a81 parent 1096f3f commit 876647d
9 files changed
Lines changed: 59 additions & 1346 deletions
File tree
- testing/web-platform/tests/content-security-policy
- embedded-enforcement
- plugin-types
Lines changed: 59 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1014 | 1014 | | |
1015 | 1015 | | |
1016 | 1016 | | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
| 1017 | + | |
1021 | 1018 | | |
1022 | 1019 | | |
1023 | 1020 | | |
1024 | 1021 | | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
1028 | 1025 | | |
1029 | 1026 | | |
1030 | 1027 | | |
| |||
1050 | 1047 | | |
1051 | 1048 | | |
1052 | 1049 | | |
1053 | | - | |
| 1050 | + | |
1054 | 1051 | | |
1055 | 1052 | | |
1056 | 1053 | | |
1057 | 1054 | | |
1058 | 1055 | | |
1059 | 1056 | | |
1060 | 1057 | | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
| 1058 | + | |
1065 | 1059 | | |
1066 | 1060 | | |
1067 | 1061 | | |
1068 | 1062 | | |
1069 | | - | |
1070 | | - | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1071 | 1067 | | |
1072 | 1068 | | |
1073 | 1069 | | |
| |||
1109 | 1105 | | |
1110 | 1106 | | |
1111 | 1107 | | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
1112 | 1157 | | |
1113 | 1158 | | |
1114 | 1159 | | |
| |||
Lines changed: 0 additions & 187 deletions
This file was deleted.
0 commit comments