mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
16b5f23697
Currently, the worker's COEP is saved in WorkerPrivate and not be respected when loading resources in workers. This patch adds an attribute loadingEmbedderPolicy in nsILoadInfo, which indicates the COEP header the loading must be respected. The default value of loadingEmbedderPolicy is nsILoadInfo::EMBEDDER_POLICY_NULL. loadingEmbedderPolicy is initialized with the COEP of the BrowsingContext used for creating LoadInfo. And it could be set to other value when fetch in workers. Differential Revision: https://phabricator.services.mozilla.com/D73690 |
||
---|---|---|
.. | ||
about | ||
data | ||
file | ||
ftp | ||
gio | ||
http | ||
res | ||
viewsource | ||
websocket | ||
moz.build |