bug 247323: kbd stops working after visiting oddpost, anything with <iframe src=javascript:1>. r=dbaron, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@162879 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d45fca0e31
commit
df1a357353
@ -4679,8 +4679,14 @@ PresShell::UnsuppressAndInvalidate()
|
||||
cv->Show();
|
||||
// Calling |Show| may destroy us. Not sure why yet, but it's
|
||||
// a smoketest blocker.
|
||||
if (mIsDestroying)
|
||||
if (mIsDestroying) {
|
||||
if (focusController) {
|
||||
// Unsuppress focus now that we're exiting this code,
|
||||
// otherwise we're stuck in focus suppression, which hoses most of Mozilla
|
||||
focusController->SetSuppressFocus(PR_FALSE, "PresShell suppression on Web page loads");
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -4679,8 +4679,14 @@ PresShell::UnsuppressAndInvalidate()
|
||||
cv->Show();
|
||||
// Calling |Show| may destroy us. Not sure why yet, but it's
|
||||
// a smoketest blocker.
|
||||
if (mIsDestroying)
|
||||
if (mIsDestroying) {
|
||||
if (focusController) {
|
||||
// Unsuppress focus now that we're exiting this code,
|
||||
// otherwise we're stuck in focus suppression, which hoses most of Mozilla
|
||||
focusController->SetSuppressFocus(PR_FALSE, "PresShell suppression on Web page loads");
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user