Bug 927901, bind .crypto to inner, not outer window, r=khuey

--HG--
extra : rebase_source : 801a257d7ca697c200537647f89302e84c1636ba
This commit is contained in:
Olli Pettay 2013-10-24 19:25:39 +03:00
parent f10d63f9e9
commit 891eae48f1

View File

@ -3877,7 +3877,7 @@ nsGlobalWindow::GetApplicationCache(nsIDOMOfflineResourceList **aApplicationCach
NS_IMETHODIMP
nsGlobalWindow::GetCrypto(nsIDOMCrypto** aCrypto)
{
FORWARD_TO_OUTER(GetCrypto, (aCrypto), NS_ERROR_NOT_INITIALIZED);
FORWARD_TO_INNER(GetCrypto, (aCrypto), NS_ERROR_NOT_INITIALIZED);
if (!mCrypto) {
#ifndef MOZ_DISABLE_CRYPTOLEGACY