This repository was archived by the owner on Apr 12, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork27.4k
Commitd9f820a
committed
fix($sceDelegate): make
In commita206e26, `$sceDelegateProvider`'s`resourceUrlWhitelist()` was deprecated in favor of the new`trustedResourceUrlList()`. However, although both properties wereassigned the same value, it was possible for an app to break if one ofthe properties was overwritten in one part of the app (or a 3rd-partylibrary) while another part of the app interacts with the other,non-overwritten property.This commit fixes it by making `resourceUrlWhitelist()` a getter/setterthat delegates to `trustedResourceUrlList()`, ensuring that the twoproperties will remain in sync. This, also, makes it consistent withother similar deprecated properties, such as `$sceDelegateProvider`'s`resourceUrlBlacklist()`.Closes#17090resourceUrlWhitelist()
is identicaltrustedResourceUrlList()
1 parent5e85ef3 commitd9f820a
1 file changed
+20
-1
lines changedLines changed: 20 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
215 | 215 |
| |
216 | 216 |
| |
217 | 217 |
| |
218 |
| - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
219 | 238 |
| |
220 | 239 |
| |
221 | 240 |
| |
|
0 commit comments
Comments
(0)