mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1811822 - nsFrameLoader::LoadContext() may return null, yet the webidl binding doesn't expect that., r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D167534
This commit is contained in:
parent
32352440fc
commit
0807bf1f0e
@ -3478,7 +3478,7 @@ already_AddRefed<nsIRemoteTab> nsFrameLoader::GetRemoteTab() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
already_AddRefed<nsILoadContext> nsFrameLoader::LoadContext() {
|
||||
already_AddRefed<nsILoadContext> nsFrameLoader::GetLoadContext() {
|
||||
return do_AddRef(GetBrowsingContext());
|
||||
}
|
||||
|
||||
|
@ -169,7 +169,7 @@ class nsFrameLoader final : public nsStubMutationObserver,
|
||||
|
||||
already_AddRefed<nsIRemoteTab> GetRemoteTab();
|
||||
|
||||
already_AddRefed<nsILoadContext> LoadContext();
|
||||
already_AddRefed<nsILoadContext> GetLoadContext();
|
||||
|
||||
mozilla::dom::BrowsingContext* GetBrowsingContext();
|
||||
mozilla::dom::BrowsingContext* GetExtantBrowsingContext();
|
||||
|
@ -32,7 +32,7 @@ interface FrameLoader {
|
||||
* frames, a shim is returned that contains private browsing and app
|
||||
* information.
|
||||
*/
|
||||
readonly attribute LoadContext loadContext;
|
||||
readonly attribute LoadContext? loadContext;
|
||||
|
||||
/**
|
||||
* Get the root BrowsingContext within the frame.
|
||||
|
Loading…
Reference in New Issue
Block a user