Bug 927901, bind .crypto to inner, not outer window, r=khuey. a=akeybl. CLOSED TREE
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Thu, 24 Oct 2013 19:25:39 +0300
changeset 155151 9a3e312d260c2d51ac6391a50a6dfa2ad25d9829
parent 155150 bc5f089773b9f58b6913592df27d86aee8e4cb97
child 155152 fc25efe5650a7a8cb9cb7928d4b02c4d2b2c6275
child 155154 d86ad7db1de399f88d8970cd3d86f32b16388391
child 155156 163900f28d66b87f10184d9a94d28ade18dc0c4f
push id391
push userdougt@mozilla.com
push dateFri, 25 Oct 2013 18:48:30 +0000
treeherdermozilla-release@9a3e312d260c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey, akeybl
bugs927901
milestone25.0
Bug 927901, bind .crypto to inner, not outer window, r=khuey. a=akeybl. CLOSED TREE
dom/base/nsGlobalWindow.cpp
--- a/dom/base/nsGlobalWindow.cpp
+++ b/dom/base/nsGlobalWindow.cpp
@@ -3880,17 +3880,17 @@ nsGlobalWindow::GetApplicationCache(nsID
   NS_IF_ADDREF(*aApplicationCache = mApplicationCache);
 
   return NS_OK;
 }
 
 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
     nsresult rv;
     mCrypto = do_CreateInstance(NS_CRYPTO_CONTRACTID, &rv);
     NS_ENSURE_SUCCESS(rv, rv);
 #else
     mCrypto = new Crypto();