зеркало из https://github.com/mozilla/gecko-dev.git
Bug 799152 - nsExpandedPrincipal should use default extendedOrigin/appId/appStatus/isInBrowserElement. r=bholley a=blocking-basecamp
This commit is contained in:
Родитель
7699c4ab04
Коммит
966758537c
|
@ -1521,25 +1521,28 @@ nsExpandedPrincipal::GetWhiteList(nsTArray<nsCOMPtr<nsIPrincipal> >** aWhiteList
|
|||
NS_IMETHODIMP
|
||||
nsExpandedPrincipal::GetExtendedOrigin(nsACString& aExtendedOrigin)
|
||||
{
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
return GetOrigin(getter_Copies(aExtendedOrigin));
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsExpandedPrincipal::GetAppStatus(uint16_t* aAppStatus)
|
||||
{
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
*aAppStatus = nsIPrincipal::APP_STATUS_NOT_INSTALLED;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsExpandedPrincipal::GetAppId(uint32_t* aAppId)
|
||||
{
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
*aAppId = nsIScriptSecurityManager::NO_APP_ID;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsExpandedPrincipal::GetIsInBrowserElement(bool* aIsInBrowserElement)
|
||||
{
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
*aIsInBrowserElement = false;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче