diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-06-18 13:22:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 13:22:25 +0200 |
commit | bef6f20403302d6f88ce0d312a34034097a84d65 (patch) | |
tree | a64bc80cbee13acad97321f90a75c7bcd8bb7a62 /toolkit | |
parent | 26d71c00f9ec28cc9471f12a37e9516a13e32199 (diff) | |
parent | ab3cf9c2d06d84456ac2049e6c298a7274bae677 (diff) | |
download | uxp-bef6f20403302d6f88ce0d312a34034097a84d65.tar.gz |
Merge pull request #509 from janekptacijarabaci/context-menu_save-link-as_principal_1
Added "nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD": The context menu - "Save Link As" feature should use the loading principal instead of the system principal
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/modules/addons/WebRequestCommon.jsm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/modules/addons/WebRequestCommon.jsm b/toolkit/modules/addons/WebRequestCommon.jsm index 9359f4ff7c..5dc8603764 100644 --- a/toolkit/modules/addons/WebRequestCommon.jsm +++ b/toolkit/modules/addons/WebRequestCommon.jsm @@ -35,6 +35,7 @@ var WebRequestCommon = { case Ci.nsIContentPolicy.TYPE_CSP_REPORT: return "csp_report"; case Ci.nsIContentPolicy.TYPE_IMAGESET: return "imageset"; case Ci.nsIContentPolicy.TYPE_WEB_MANIFEST: return "web_manifest"; + case Ci.nsIContentPolicy.TYPE_SAVEAS_DOWNLOAD: return "saveas_download"; default: return "other"; } }, |