diff --git a/content/base/src/ThirdPartyUtil.cpp b/content/base/src/ThirdPartyUtil.cpp index 97a000e3c9e..2b2718ab42a 100644 --- a/content/base/src/ThirdPartyUtil.cpp +++ b/content/base/src/ThirdPartyUtil.cpp @@ -115,7 +115,9 @@ ThirdPartyUtil::IsThirdPartyWindow(nsIDOMWindow* aWindow, nsCOMPtr current = aWindow, parent; nsCOMPtr parentURI; do { - rv = current->GetParent(getter_AddRefs(parent)); + // We use GetScriptableParent rather than GetParent because we consider + //