mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Issue #2402 - importScripts should be governed by script-src in Web Workers. https://bugzilla.mozilla.org/show_bug.cgi?id=1322111 Add TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS content policy. Update the Cache API schema to account for new nsIContentPolicy type.
This commit is contained in:
@@ -67,6 +67,7 @@ static const char *kTypeString[] = {
|
||||
"", // TYPE_INTERNAL_STYLESHEET_PRELOAD
|
||||
"", // TYPE_INTERNAL_IMAGE_FAVICON
|
||||
"saveas_download",
|
||||
"", // TYPE_INTERNAL_WORKERS_IMPORT_SCRIPTS
|
||||
};
|
||||
|
||||
#define NUMBER_OF_TYPES MOZ_ARRAY_LENGTH(kTypeString)
|
||||
|
||||
Reference in New Issue
Block a user