mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 16:57:36 +00:00
Bug 852847 - Part 5: Fix assertions caused by part 4. r=me
This commit is contained in:
parent
11667a9a95
commit
86b8cafec6
@ -326,7 +326,9 @@ BrowserElementChild.prototype = {
|
||||
let returnValue = win.modalReturnValue;
|
||||
delete win.modalReturnValue;
|
||||
|
||||
utils.leaveModalStateWithWindow(modalStateWin);
|
||||
if (!this._shuttingDown) {
|
||||
utils.leaveModalStateWithWindow(modalStateWin);
|
||||
}
|
||||
|
||||
debug("Leaving modal state (outerID=" + outerWindowID + ", " +
|
||||
"innerID=" + innerWindowID + ")");
|
||||
|
Loading…
x
Reference in New Issue
Block a user