зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
32352440fc
Коммит
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче