mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
This removes a lot of the plumbing for having the platform embed itself through IPC which was required for B2G running the browser as both shell and browser application.
This commit is contained in:
parent
a6c54d0736
commit
7b6e3a2d4a
77 changed files with 295 additions and 1799 deletions
|
|
@ -256,20 +256,6 @@ OfflineCacheUpdateParent::SetRemoteTabs(bool aUseRemoteTabs)
|
|||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
OfflineCacheUpdateParent::GetIsInIsolatedMozBrowserElement(bool *aIsInIsolatedMozBrowserElement)
|
||||
{
|
||||
NS_ENSURE_TRUE(mLoadingPrincipal, NS_ERROR_UNEXPECTED);
|
||||
return mLoadingPrincipal->GetIsInIsolatedMozBrowserElement(aIsInIsolatedMozBrowserElement);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
OfflineCacheUpdateParent::GetAppId(uint32_t *aAppId)
|
||||
{
|
||||
NS_ENSURE_TRUE(mLoadingPrincipal, NS_ERROR_UNEXPECTED);
|
||||
return mLoadingPrincipal->GetAppId(aAppId);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
OfflineCacheUpdateParent::GetOriginAttributes(JS::MutableHandleValue aAttrs)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -224,9 +224,9 @@ interface nsIOfflineCacheUpdateService : nsISupports {
|
|||
|
||||
/**
|
||||
* Schedule a cache update for a given offline manifest using app cache
|
||||
* bound to the given appID+inIsolatedMozBrowser flag. If an existing update
|
||||
* is scheduled or running, that update will be returned. Otherwise a new
|
||||
* update will be scheduled.
|
||||
* bound to the given appID flag. If an existing update is scheduled or
|
||||
* running, that update will be returned. Otherwise a new update will be
|
||||
* scheduled.
|
||||
*/
|
||||
nsIOfflineCacheUpdate scheduleAppUpdate(in nsIURI aManifestURI,
|
||||
in nsIURI aDocumentURI,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue