Bug 1648764 - map chromescripts into their own internal contentpolicytype r=ckerschb,smaug

Differential Revision: https://phabricator.services.mozilla.com/D81336
This commit is contained in:
Frederik Braun
2020-07-24 11:52:02 +00:00
parent 719b52333e
commit 0ee6dcb07e
10 changed files with 23 additions and 5 deletions

View File

@@ -202,6 +202,7 @@ RequestDestination InternalRequest::MapContentPolicyTypeToRequestDestination(
case nsIContentPolicy::TYPE_INTERNAL_MODULE_PRELOAD:
case nsIContentPolicy::TYPE_INTERNAL_SERVICE_WORKER:
case nsIContentPolicy::TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS:
case nsIContentPolicy::TYPE_INTERNAL_CHROMEUTILS_COMPILED_SCRIPT:
case nsIContentPolicy::TYPE_SCRIPT:
destination = RequestDestination::Script;
break;