Bug 894646 - Various dom deCOM cleanups r=Ms2ger
This commit is contained in:
@@ -8624,7 +8624,7 @@ nsDocShell::InternalLoad(nsIURI * aURI,
|
||||
// First, notify any nsIContentPolicy listeners about the document load.
|
||||
// Only abort the load if a content policy listener explicitly vetos it!
|
||||
//
|
||||
nsCOMPtr<nsIDOMElement> requestingElement;
|
||||
nsCOMPtr<Element> requestingElement;
|
||||
// Use nsPIDOMWindow since we _want_ to cross the chrome boundary if needed
|
||||
if (mScriptGlobal)
|
||||
requestingElement = mScriptGlobal->GetFrameElementInternal();
|
||||
|
||||
Reference in New Issue
Block a user