From 07ee0792c9664d649fae8ae530b27462ee45f530 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Sun, 17 Jun 2018 09:35:48 +0200 Subject: Bug 1398229 - Save-link-as feature should use the loading principal - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD --- dom/base/nsIContentPolicyBase.idl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dom/base/nsIContentPolicyBase.idl') diff --git a/dom/base/nsIContentPolicyBase.idl b/dom/base/nsIContentPolicyBase.idl index 884e3d96d..0520ebacc 100644 --- a/dom/base/nsIContentPolicyBase.idl +++ b/dom/base/nsIContentPolicyBase.idl @@ -181,6 +181,11 @@ 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. -- cgit v1.2.3