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:
joki%netscape.com
1999-07-19 19:54:34 +00:00
parent 37ae6384f7
commit 065c158182
47 changed files with 479 additions and 371 deletions

View File

@@ -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);