Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
git-svn-id: svn://10.0.0.236/trunk@40134 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1336,7 +1336,7 @@ nsWebShellWindow::CreatePopup(nsIDOMElement* aElement, nsIDOMElement* aPopupCont
|
||||
NS_IF_RELEASE(popupRoot);
|
||||
nsCOMPtr<nsIDOMFocusListener> blurListener = do_QueryInterface(popupListener);
|
||||
nsCOMPtr<nsIDOMEventTarget> targetWindow = do_QueryInterface(domWindow);
|
||||
targetWindow->AddEventListener("blur", blurListener, PR_FALSE, PR_FALSE);
|
||||
targetWindow->AddEventListener("blur", blurListener, PR_FALSE);
|
||||
|
||||
// (8) Set up the opener property
|
||||
domWindow->SetOpener(aWindow);
|
||||
|
||||
Reference in New Issue
Block a user