зеркало из https://github.com/mozilla/gecko-dev.git
276482 never block windows opened through gtkmozembed
patch by Crispin Flowerday <crispin@flowerday.cx> r=bz sr=jst
This commit is contained in:
Родитель
69c6ddb2ce
Коммит
51a43cfd7c
|
@ -405,12 +405,18 @@ EmbedPrivate::SetURI(const char *aURI)
|
|||
void
|
||||
EmbedPrivate::LoadCurrentURI(void)
|
||||
{
|
||||
if (mURI.Length())
|
||||
if (mURI.Length()) {
|
||||
nsCOMPtr<nsPIDOMWindow> piWin;
|
||||
GetPIDOMWindow(getter_AddRefs(piWin));
|
||||
|
||||
nsAutoPopupStatePusher popupStatePusher(piWin, openAllowed);
|
||||
|
||||
mNavigation->LoadURI(mURI.get(), // URI string
|
||||
nsIWebNavigation::LOAD_FLAGS_NONE, // Load flags
|
||||
nsnull, // Referring URI
|
||||
nsnull, // Post data
|
||||
nsnull); // extra headers
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче