VOOZH about

URL: https://bug59314.bmoattachments.org/attachment.cgi?id=490029


diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -7407,16 +7407,23 @@ let DownloadMonitorPanel = { function getNotificationBox(aWindow) { var foundBrowser = gBrowser.getBrowserForDocument(aWindow.document); if (foundBrowser) return gBrowser.getNotificationBox(foundBrowser) return null; }; +function getTabModalPromptBox(aWindow) { + var foundBrowser = gBrowser.getBrowserForDocument(aWindow.document); + if (foundBrowser) + return gBrowser.getTabModalPromptBox(foundBrowser) + return null; +}; + /* DEPRECATED */ function getBrowser() gBrowser; function getNavToolbox() gNavToolbox; let gPrivateBrowsingUI = { _privateBrowsingService: null, _searchBarValue: null, _findBarValue: null, diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -285,16 +285,59 @@