Backed out 5 changesets (bug 1615588) for browser-chrome failures e.g. browser_beforeunload_duplicate_dialogs.js. CLOSED TREE
Backed out changeset 751cca7566a8 (bug 1615588) Backed out changeset 474aca043834 (bug 1615588) Backed out changeset 7839b95ef76c (bug 1615588) Backed out changeset 32bb87f48b13 (bug 1615588) Backed out changeset 264e642042b1 (bug 1615588)
This commit is contained in:
@@ -11516,12 +11516,11 @@ nsresult nsDocShell::ConfirmRepost(bool* aRepost) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
// Make the repost prompt content modal to prevent malicious pages from
|
||||
// locking up the browser, see bug 1412559 for an example.
|
||||
// Make the repost prompt tab modal to prevent malicious pages from locking
|
||||
// up the browser, see bug 1412559 for an example.
|
||||
if (nsCOMPtr<nsIWritablePropertyBag2> promptBag =
|
||||
do_QueryInterface(prompter)) {
|
||||
promptBag->SetPropertyAsUint32(NS_LITERAL_STRING("modalType"),
|
||||
nsIPrompt::MODAL_TYPE_CONTENT);
|
||||
promptBag->SetPropertyAsBool(NS_LITERAL_STRING("allowTabModal"), true);
|
||||
}
|
||||
|
||||
int32_t buttonPressed;
|
||||
|
||||
Reference in New Issue
Block a user