mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1641270 - Part 1: Expose cookieJarSettings to UI code through Document. r=smaug,dimi
Differential Revision: https://phabricator.services.mozilla.com/D95611
This commit is contained in:
parent
e9e39992b5
commit
f0c895fc31
@ -1943,3 +1943,5 @@ addExternalIface('nsIPermissionDelegateHandler',
|
||||
notflattened=True)
|
||||
addExternalIface('nsIOpenWindowInfo', nativeType='nsIOpenWindowInfo',
|
||||
notflattened=True)
|
||||
addExternalIface('nsICookieJarSettings', nativeType='nsICookieJarSettings',
|
||||
notflattened=True)
|
||||
|
@ -23,6 +23,7 @@ interface URI;
|
||||
interface nsIDocShell;
|
||||
interface nsILoadGroup;
|
||||
interface nsIReferrerInfo;
|
||||
interface nsICookieJarSettings;
|
||||
interface nsIPermissionDelegateHandler;
|
||||
interface XULCommandDispatcher;
|
||||
|
||||
@ -400,6 +401,10 @@ partial interface Document {
|
||||
[ChromeOnly]
|
||||
readonly attribute Principal partitionedPrincipal;
|
||||
|
||||
// The cookieJarSettings of this document
|
||||
[ChromeOnly]
|
||||
readonly attribute nsICookieJarSettings cookieJarSettings;
|
||||
|
||||
// The principal to use for the content blocking allow list
|
||||
[ChromeOnly]
|
||||
readonly attribute Principal? contentBlockingAllowListPrincipal;
|
||||
|
@ -12,7 +12,7 @@ interface nsIPrincipal;
|
||||
* Cookie jar settings for top-level documents. Please see CookieJarSettings.h
|
||||
* for more details.
|
||||
*/
|
||||
[builtinclass, uuid(3ec40331-7cf0-4b71-ba2a-2265aab8f6bc)]
|
||||
[scriptable, builtinclass, uuid(3ec40331-7cf0-4b71-ba2a-2265aab8f6bc)]
|
||||
interface nsICookieJarSettings : nsISupports
|
||||
{
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user