mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 550442 object sub loads should obey the object-src policy
This commit is contained in:
parent
c900cfd288
commit
1335f2114e
@ -99,6 +99,7 @@ function ContentSecurityPolicy() {
|
||||
csp._MAPPINGS[cp.TYPE_IMAGE] = cspr_sd.IMG_SRC;
|
||||
csp._MAPPINGS[cp.TYPE_STYLESHEET] = cspr_sd.STYLE_SRC;
|
||||
csp._MAPPINGS[cp.TYPE_OBJECT] = cspr_sd.OBJECT_SRC;
|
||||
csp._MAPPINGS[cp.TYPE_OBJECT_SUBREQUEST] = cspr_sd.OBJECT_SRC;
|
||||
csp._MAPPINGS[cp.TYPE_SUBDOCUMENT] = cspr_sd.FRAME_SRC;
|
||||
csp._MAPPINGS[cp.TYPE_MEDIA] = cspr_sd.MEDIA_SRC;
|
||||
csp._MAPPINGS[cp.TYPE_FONT] = cspr_sd.FONT_SRC;
|
||||
@ -108,7 +109,6 @@ function ContentSecurityPolicy() {
|
||||
/* These must go through the catch-all */
|
||||
csp._MAPPINGS[cp.TYPE_XBL] = cspr_sd.ALLOW;
|
||||
csp._MAPPINGS[cp.TYPE_PING] = cspr_sd.ALLOW;
|
||||
csp._MAPPINGS[cp.TYPE_OBJECT_SUBREQUEST] = cspr_sd.ALLOW;
|
||||
csp._MAPPINGS[cp.TYPE_DTD] = cspr_sd.ALLOW;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user