merge inbound to central. r=merge a=merge
This commit is contained in:
@@ -352,6 +352,19 @@ public:
|
||||
mAncestorOuterWindowIDs = mozilla::Move(aAncestorOuterWindowIDs);
|
||||
}
|
||||
|
||||
bool CanSetOriginAttributes();
|
||||
|
||||
// Determine if a service worker is allowed to control a window in this
|
||||
// docshell with the given URL. If there are any reasons it should not,
|
||||
// this will return false. If true is returned then the window *may* be
|
||||
// controlled. The caller must still consult either the parent controller
|
||||
// or the ServiceWorkerManager to determine if a service worker should
|
||||
// actually control the window.
|
||||
//
|
||||
// A nullptr URL is considered to be an about:blank window and will not
|
||||
// trigger 3rd party iframe checks.
|
||||
bool ServiceWorkerAllowedToControlWindow(nsIURI* aURI);
|
||||
|
||||
const mozilla::OriginAttributes& GetOriginAttributes()
|
||||
{
|
||||
return mOriginAttributes;
|
||||
|
||||
Reference in New Issue
Block a user