diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-18 00:52:04 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-18 00:52:04 +0200 |
commit | 22f7e8f8a74ee5ff83a0b76c789d011bd54244b9 (patch) | |
tree | 7ee7b3a7be312b582625683cd95c92e1ecce8829 /dom/base | |
parent | aebdb991f41d3cc864451ce1c09c7b7c691cbe76 (diff) | |
download | UXP-22f7e8f8a74ee5ff83a0b76c789d011bd54244b9.tar UXP-22f7e8f8a74ee5ff83a0b76c789d011bd54244b9.tar.gz UXP-22f7e8f8a74ee5ff83a0b76c789d011bd54244b9.tar.lz UXP-22f7e8f8a74ee5ff83a0b76c789d011bd54244b9.tar.xz UXP-22f7e8f8a74ee5ff83a0b76c789d011bd54244b9.zip |
nsIContentPolicy: Numbers should not be omitted in nsIContentPolicyBase.idl, rewrite uuid
Diffstat (limited to 'dom/base')
-rw-r--r-- | dom/base/nsIContentPolicy.idl | 2 | ||||
-rw-r--r-- | dom/base/nsIContentPolicyBase.idl | 21 | ||||
-rw-r--r-- | dom/base/nsISimpleContentPolicy.idl | 2 |
3 files changed, 13 insertions, 12 deletions
diff --git a/dom/base/nsIContentPolicy.idl b/dom/base/nsIContentPolicy.idl index efb0a30a3..200b97fbc 100644 --- a/dom/base/nsIContentPolicy.idl +++ b/dom/base/nsIContentPolicy.idl @@ -20,7 +20,7 @@ interface nsIPrincipal; * by launching a dialog to prompt the user for something). */ -[scriptable,uuid(d472863b-adb2-4448-aa8f-6c33c0c4c633)] +[scriptable,uuid(64a5ae16-6836-475c-9938-4b6cc1eee8fb)] interface nsIContentPolicy : nsIContentPolicyBase { /** diff --git a/dom/base/nsIContentPolicyBase.idl b/dom/base/nsIContentPolicyBase.idl index 01c1d803c..908e562a8 100644 --- a/dom/base/nsIContentPolicyBase.idl +++ b/dom/base/nsIContentPolicyBase.idl @@ -24,7 +24,7 @@ typedef unsigned long nsContentPolicyType; * by launching a dialog to prompt the user for something). */ -[scriptable,uuid(e8046cd0-3b32-4065-ad78-4099a9bb2e35)] +[scriptable,uuid(d6ab1d11-8e24-4db4-8582-c40a78281737)] interface nsIContentPolicyBase : nsISupports { /** @@ -182,11 +182,6 @@ interface nsIContentPolicyBase : nsISupports const nsContentPolicyType TYPE_WEB_MANIFEST = 22; /** - * Indicates an save-as link download from the front-end code. - */ - const nsContentPolicyType TYPE_SAVEAS_DOWNLOAD = 43; - - /** * Indicates an internal constant for scripts loaded through script * elements. * @@ -334,11 +329,17 @@ interface nsIContentPolicyBase : nsISupports */ const nsContentPolicyType TYPE_INTERNAL_IMAGE_FAVICON = 41; + /** + * Indicates an save-as link download from the front-end code. + */ + const nsContentPolicyType TYPE_SAVEAS_DOWNLOAD = 42; + /* When adding new content types, please update nsContentBlocker, - * NS_CP_ContentTypeName, nsCSPContext, all nsIContentPolicy - * implementations, the static_assert in dom/cache/DBSchema.cpp, - * and other things that are not listed here that are related to - * nsIContentPolicy. */ + * NS_CP_ContentTypeName, nsCSPContext, CSP_ContentTypeToDirective, + * DoContentSecurityChecks, all nsIContentPolicy implementations, the + * static_assert in dom/cache/DBSchema.cpp, nsPermissionManager.cpp, + * and other things that are not listed here that are related + * to nsIContentPolicy. */ ////////////////////////////////////////////////////////////////////// diff --git a/dom/base/nsISimpleContentPolicy.idl b/dom/base/nsISimpleContentPolicy.idl index ad1e3d897..dc0474736 100644 --- a/dom/base/nsISimpleContentPolicy.idl +++ b/dom/base/nsISimpleContentPolicy.idl @@ -28,7 +28,7 @@ interface nsIDOMElement; * by launching a dialog to prompt the user for something). */ -[scriptable,uuid(2215d135-df0d-445b-bb49-f11a4855f2a1)] +[scriptable,uuid(1553a476-8a14-410b-8ecc-47f48e937392)] interface nsISimpleContentPolicy : nsIContentPolicyBase { /** |