зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1570253 - Convert session history sync IPC messages that don't return anything to async. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D44442 --HG-- extra : rebase_source : c1700389bff0e86f120298f838e37244309dab3e extra : amend_source : b05519f5b6ab4ce5207318e55bc28a1582e2b905 extra : source : 3da2f0f2d95bf2452caf7afc06a5c4887e477068 extra : histedit_source : 483074226bac0ae0387677e24958c5225207e01b
This commit is contained in:
Родитель
7c10781235
Коммит
51c0772fe6
|
@ -20,90 +20,90 @@ sync protocol PSHEntry {
|
|||
|
||||
parent:
|
||||
sync GetURI() returns (nsIURI uri);
|
||||
sync SetURI(nsIURI uri);
|
||||
async SetURI(nsIURI uri);
|
||||
sync GetOriginalURI() returns (nsIURI originalUri);
|
||||
sync SetOriginalURI(nsIURI originalUri);
|
||||
async SetOriginalURI(nsIURI originalUri);
|
||||
sync GetResultPrincipalURI() returns (nsIURI resultPrincipalUri);
|
||||
sync SetResultPrincipalURI(nsIURI resultPrincipalUri);
|
||||
async SetResultPrincipalURI(nsIURI resultPrincipalUri);
|
||||
sync GetLoadReplace() returns (bool loadReplace);
|
||||
sync SetLoadReplace(bool loadReplace);
|
||||
async SetLoadReplace(bool loadReplace);
|
||||
sync GetTitle() returns (nsString title);
|
||||
sync SetTitle(nsString title);
|
||||
async SetTitle(nsString title);
|
||||
sync GetIsSubFrame() returns (bool isSubFrame);
|
||||
sync SetIsSubFrame(bool isSubFrame);
|
||||
async SetIsSubFrame(bool isSubFrame);
|
||||
sync GetReferrerInfo() returns (nsIReferrerInfo referrerInfo);
|
||||
sync SetReferrerInfo(nsIReferrerInfo referrerInfo);
|
||||
async SetReferrerInfo(nsIReferrerInfo referrerInfo);
|
||||
sync GetSticky() returns (bool sticky);
|
||||
sync SetSticky(bool sticky);
|
||||
async SetSticky(bool sticky);
|
||||
sync GetPostData() returns (nsIInputStream postData);
|
||||
sync SetPostData(nsIInputStream postData);
|
||||
async SetPostData(nsIInputStream postData);
|
||||
sync GetParent() returns (MaybeNewPSHEntry parentEntry);
|
||||
sync SetParent(nullable PSHEntry parentEntry);
|
||||
async SetParent(nullable PSHEntry parentEntry);
|
||||
sync GetLoadType() returns (uint32_t loadType);
|
||||
sync SetLoadType(uint32_t loadType);
|
||||
async SetLoadType(uint32_t loadType);
|
||||
sync GetID() returns (uint32_t id);
|
||||
sync SetID(uint32_t id);
|
||||
async SetID(uint32_t id);
|
||||
sync GetCacheKey() returns (uint32_t cacheKey);
|
||||
sync SetCacheKey(uint32_t cacheKey);
|
||||
async SetCacheKey(uint32_t cacheKey);
|
||||
sync GetExpirationStatus() returns (bool expirationStatus);
|
||||
sync SetExpirationStatus(bool expirationStatus);
|
||||
async SetExpirationStatus(bool expirationStatus);
|
||||
sync GetContentType() returns (nsCString contentType);
|
||||
sync SetContentType(nsCString contentType);
|
||||
async SetContentType(nsCString contentType);
|
||||
sync GetURIWasModified() returns (bool uriWasModified);
|
||||
sync SetURIWasModified(bool uriWasModified);
|
||||
async SetURIWasModified(bool uriWasModified);
|
||||
sync GetTriggeringPrincipal() returns (nsIPrincipal triggeringPrincipal);
|
||||
sync SetTriggeringPrincipal(nsIPrincipal triggeringPrincipal);
|
||||
async SetTriggeringPrincipal(nsIPrincipal triggeringPrincipal);
|
||||
sync GetPrincipalToInherit() returns (nsIPrincipal principalToInherit);
|
||||
sync SetPrincipalToInherit(nsIPrincipal principalToInherit);
|
||||
async SetPrincipalToInherit(nsIPrincipal principalToInherit);
|
||||
sync GetStoragePrincipalToInherit()
|
||||
returns (nsIPrincipal storagePrincipalToInherit);
|
||||
sync SetStoragePrincipalToInherit(nsIPrincipal storagePrincipalToInherit);
|
||||
async SetStoragePrincipalToInherit(nsIPrincipal storagePrincipalToInherit);
|
||||
sync GetCsp() returns (nsIContentSecurityPolicy csp);
|
||||
sync SetCsp(nsIContentSecurityPolicy csp);
|
||||
async SetCsp(nsIContentSecurityPolicy csp);
|
||||
sync GetStateData() returns (ClonedMessageData stateData);
|
||||
sync SetStateData(ClonedMessageData stateData);
|
||||
async SetStateData(ClonedMessageData stateData);
|
||||
sync GetDocshellID() returns (nsID docshellId);
|
||||
sync SetDocshellID(nsID docshellId);
|
||||
async SetDocshellID(nsID docshellId);
|
||||
sync GetIsSrcdocEntry() returns (bool isSrcdocEntry);
|
||||
sync GetSrcdocData() returns (nsString srcdocData);
|
||||
sync SetSrcdocData(nsString srcdocData);
|
||||
async SetSrcdocData(nsString srcdocData);
|
||||
sync GetBaseURI() returns (nsIURI baseUri);
|
||||
sync SetBaseURI(nsIURI baseUri);
|
||||
async SetBaseURI(nsIURI baseUri);
|
||||
sync GetScrollRestorationIsManual() returns (bool scrollRestorationIsManual);
|
||||
sync SetScrollRestorationIsManual(bool scrollRestorationIsManual);
|
||||
async SetScrollRestorationIsManual(bool scrollRestorationIsManual);
|
||||
sync GetLoadedInThisProcess() returns (bool loadedInThisProcess);
|
||||
sync GetLastTouched() returns (uint32_t lastTouched);
|
||||
sync SetLastTouched(uint32_t lastTouched);
|
||||
async SetLastTouched(uint32_t lastTouched);
|
||||
sync GetChildCount() returns (int32_t childCount);
|
||||
sync GetPersist() returns (bool persist);
|
||||
sync SetPersist(bool persist);
|
||||
sync SetScrollPosition(int32_t x, int32_t y);
|
||||
async SetPersist(bool persist);
|
||||
async SetScrollPosition(int32_t x, int32_t y);
|
||||
sync GetScrollPosition() returns (int32_t x, int32_t y);
|
||||
sync GetViewerBounds() returns (nsIntRect bounds);
|
||||
sync SetViewerBounds(nsIntRect bounds);
|
||||
sync Create(nsIURI URI, nsString title, nsIInputStream inputStream,
|
||||
uint32_t cacheKey, nsCString contentType,
|
||||
nsIPrincipal triggeringPrincipal, nsIPrincipal principalToInherit,
|
||||
nsIPrincipal storagePrincipalToInherit,
|
||||
nsIContentSecurityPolicy csp, nsID docshellID,
|
||||
bool dynamicCreation, nsIURI originalUri, nsIURI resultPrincipalURI,
|
||||
bool loadReplace, nsIReferrerInfo referrerInfo,
|
||||
nsString srcdoc, bool srcdocEntry, nsIURI baseURI,
|
||||
bool saveLayoutState, bool expired);
|
||||
async SetViewerBounds(nsIntRect bounds);
|
||||
async Create(nsIURI URI, nsString title, nsIInputStream inputStream,
|
||||
uint32_t cacheKey, nsCString contentType,
|
||||
nsIPrincipal triggeringPrincipal, nsIPrincipal principalToInherit,
|
||||
nsIPrincipal storagePrincipalToInherit,
|
||||
nsIContentSecurityPolicy csp, nsID docshellID,
|
||||
bool dynamicCreation, nsIURI originalUri, nsIURI resultPrincipalURI,
|
||||
bool loadReplace, nsIReferrerInfo referrerInfo,
|
||||
nsString srcdoc, bool srcdocEntry, nsIURI baseURI,
|
||||
bool saveLayoutState, bool expired);
|
||||
sync HasDetachedEditor() returns (bool hasDetachedEditor);
|
||||
sync IsDynamicallyAdded() returns (bool isDynamicallyAdded);
|
||||
sync HasDynamicallyAddedChild() returns (bool hasDynamicallyAddedChild);
|
||||
sync AdoptBFCacheEntry(PSHEntry entry) returns (nsresult result);
|
||||
sync AbandonBFCacheEntry(uint64_t aNewSharedID);
|
||||
async AbandonBFCacheEntry(uint64_t aNewSharedID);
|
||||
sync SharesDocumentWith(PSHEntry entry) returns (bool sharesDocumentWith,
|
||||
nsresult result);
|
||||
sync SetLoadTypeAsHistory();
|
||||
async SetLoadTypeAsHistory();
|
||||
sync AddChild(nullable PSHEntry childEntry, int32_t offset, bool useRemoteSubframes) returns (nsresult result);
|
||||
sync RemoveChild(PSHEntry childEntry) returns (nsresult result);
|
||||
sync GetChildAt(int32_t index) returns (MaybeNewPSHEntry childEntry);
|
||||
sync GetChildSHEntryIfHasNoDynamicallyAddedChild(int32_t childOffset) returns (MaybeNewPSHEntry childEntry);
|
||||
sync ReplaceChild(PSHEntry newChildEntry) returns (nsresult result);
|
||||
sync ClearEntry(uint64_t aNewSharedID);
|
||||
async ClearEntry(uint64_t aNewSharedID);
|
||||
sync CreateLoadInfo() returns (nsDocShellLoadState loadState);
|
||||
|
||||
sync __delete__();
|
||||
|
|
|
@ -37,27 +37,27 @@ parent:
|
|||
sync GetIndex() returns (int32_t index);
|
||||
sync SetIndex(int32_t index) returns (nsresult result);
|
||||
sync GetRequestedIndex() returns (int32_t index);
|
||||
sync InternalSetRequestedIndex(int32_t index);
|
||||
async InternalSetRequestedIndex(int32_t index);
|
||||
sync GetEntryAtIndex(int32_t index) returns (nsresult result, MaybeNewPSHEntry entry);
|
||||
sync PurgeHistory(int32_t numEntries) returns (nsresult result);
|
||||
sync ReloadCurrentEntry() returns (LoadSHEntryResult load);
|
||||
sync GotoIndex(int32_t index) returns (LoadSHEntryResult load);
|
||||
sync GetIndexOfEntry(PSHEntry entry) returns (int32_t index);
|
||||
sync AddEntry(PSHEntry entry, bool persist) returns (nsresult result, int32_t entriesPurged);
|
||||
sync UpdateIndex();
|
||||
async UpdateIndex();
|
||||
sync ReplaceEntry(int32_t index, PSHEntry entry) returns (nsresult result);
|
||||
sync NotifyOnHistoryReload() returns (bool ok);
|
||||
sync EvictOutOfRangeContentViewers(int32_t index);
|
||||
sync EvictAllContentViewers();
|
||||
sync RemoveDynEntries(int32_t index, PSHEntry entry);
|
||||
async EvictOutOfRangeContentViewers(int32_t index);
|
||||
async EvictAllContentViewers();
|
||||
async RemoveDynEntries(int32_t index, PSHEntry entry);
|
||||
sync RemoveEntries(nsID[] ids, int32_t index) returns (bool didRemove);
|
||||
sync RemoveFrameEntries(PSHEntry entry);
|
||||
async RemoveFrameEntries(PSHEntry entry);
|
||||
sync Reload(uint32_t reloadFlags) returns (LoadSHEntryResult load);
|
||||
sync GetAllEntries() returns (MaybeNewPSHEntry[] entries);
|
||||
sync FindEntryForBFCache(uint64_t sharedID, bool includeCurrentEntry) returns (MaybeNewPSHEntry entries, int32_t startIndex);
|
||||
sync Evict(PSHEntry[] entry);
|
||||
sync EnsureCorrectEntryAtCurrIndex(PSHEntry entry);
|
||||
sync EvictContentViewersOrReplaceEntry(nullable PSHEntry newSHEntry, bool replace);
|
||||
async Evict(PSHEntry[] entry);
|
||||
async EnsureCorrectEntryAtCurrIndex(PSHEntry entry);
|
||||
async EvictContentViewersOrReplaceEntry(nullable PSHEntry newSHEntry, bool replace);
|
||||
async NotifyListenersContentViewerEvicted(uint32_t numEvicted);
|
||||
async __delete__();
|
||||
};
|
||||
|
|
|
@ -814,8 +814,6 @@ description = Standing up Fission
|
|||
description = Standing up Fission
|
||||
[PSHistory::GetRequestedIndex]
|
||||
description = Standing up Fission
|
||||
[PSHistory::InternalSetRequestedIndex]
|
||||
description = Standing up Fission
|
||||
[PSHistory::GetEntryAtIndex]
|
||||
description = Standing up Fission
|
||||
[PSHistory::PurgeHistory]
|
||||
|
@ -828,160 +826,84 @@ description = Standing up Fission
|
|||
description = Standing up Fission
|
||||
[PSHistory::AddEntry]
|
||||
description = Standing up Fission
|
||||
[PSHistory::UpdateIndex]
|
||||
description = Standing up Fission
|
||||
[PSHistory::ReplaceEntry]
|
||||
description = Standing up Fission
|
||||
[PSHistory::NotifyOnHistoryReload]
|
||||
description = Standing up Fission
|
||||
[PSHistory::EvictOutOfRangeContentViewers]
|
||||
description = Standing up Fission
|
||||
[PSHistory::EvictAllContentViewers]
|
||||
description = Standing up Fission
|
||||
[PSHistory::EvictContentViewersOrReplaceEntry]
|
||||
description = Standing up Fission
|
||||
[PSHistory::RemoveDynEntries]
|
||||
description = Standing up Fission
|
||||
[PSHistory::RemoveEntries]
|
||||
description = Standing up Fission
|
||||
[PSHistory::RemoveFrameEntries]
|
||||
description = Standing up Fission
|
||||
[PSHistory::Reload]
|
||||
description = Standing up Fission
|
||||
[PSHistory::GetAllEntries]
|
||||
description = Standing up Fission
|
||||
[PSHistory::FindEntryForBFCache]
|
||||
description = Standing up Fission
|
||||
[PSHistory::Evict]
|
||||
description = Standing up Fission
|
||||
[PSHistory::EnsureCorrectEntryAtCurrIndex]
|
||||
description = Standing up Fission
|
||||
[PContent::PSHEntry]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetURI]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetURI]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetOriginalURI]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetOriginalURI]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetResultPrincipalURI]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetResultPrincipalURI]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetLoadReplace]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetLoadReplace]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetTitle]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetTitle]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetIsSubFrame]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetIsSubFrame]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetReferrerInfo]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetReferrerInfo]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetSticky]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetSticky]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetPostData]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetPostData]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetParent]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetParent]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetLoadType]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetLoadType]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetID]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetID]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetCacheKey]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetCacheKey]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetExpirationStatus]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetExpirationStatus]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetContentType]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetContentType]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetURIWasModified]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetURIWasModified]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetTriggeringPrincipal]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetTriggeringPrincipal]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetPrincipalToInherit]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetPrincipalToInherit]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetStoragePrincipalToInherit]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetStoragePrincipalToInherit]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetCsp]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetCsp]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetStateData]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetStateData]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetDocshellID]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetDocshellID]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetIsSrcdocEntry]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetSrcdocData]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetSrcdocData]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetBaseURI]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetBaseURI]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetScrollRestorationIsManual]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetScrollRestorationIsManual]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetLoadedInThisProcess]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetLastTouched]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetLastTouched]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetChildCount]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetPersist]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetPersist]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetScrollPosition]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetScrollPosition]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::GetViewerBounds]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetViewerBounds]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::Create]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::HasDetachedEditor]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::IsDynamicallyAdded]
|
||||
|
@ -990,12 +912,8 @@ description = Standing up Fission
|
|||
description = Standing up Fission
|
||||
[PSHEntry::AdoptBFCacheEntry]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::AbandonBFCacheEntry]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SharesDocumentWith]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::SetLoadTypeAsHistory]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::AddChild]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::RemoveChild]
|
||||
|
@ -1006,8 +924,6 @@ description = Standing up Fission
|
|||
description = Standing up Fission
|
||||
[PSHEntry::ReplaceChild]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::ClearEntry]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::__delete__]
|
||||
description = Standing up Fission
|
||||
[PSHEntry::CreateLoadInfo]
|
||||
|
|
Загрузка…
Ссылка в новой задаче