Camino-branch bustage fix. nsIDOMPopupBlockedEvent.idl doesn't have the popupWindowName property on branch. See bug 343734

This commit is contained in:
hwaara%gmail.com 2006-07-06 11:57:12 +00:00
Родитель d813688164
Коммит 5345b72acb
1 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -1649,10 +1649,17 @@ enum BWCOpenDest {
aPopupBlockedEvent->GetRequestingWindowURI(getter_AddRefs(requestingWindowURI));
aPopupBlockedEvent->GetPopupWindowURI(getter_AddRefs(popupWindowURI));
// get the blocked popup's modifiers, and window name
nsAutoString features, windowName;
aPopupBlockedEvent->GetPopupWindowFeatures(features);
nsAutoString windowName, features;
// get the popup window's features
aPopupBlockedEvent->GetPopupWindowFeatures(features);
#ifndef MOZILLA_1_8_BRANCH
// XXXhakan: nsIDOMPopupBlockedEvent didn't get the popupWindowName property added on branch, so
// we can't set the popup window's original name for now.
// see bug 343734
aPopupBlockedEvent->GetPopupWindowName(windowName);
#endif
// find the docshell for the blocked popup window, in order to show it
nsCOMPtr<nsIDocShell> popupWinDocShell = [[mBrowserView getBrowserView] findDocShellForURI:requestingWindowURI];