diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-11 12:17:17 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-11 12:17:17 +0200 |
commit | 92207c99ab0fe9d7b1500ecf9b5a17e44cc495dc (patch) | |
tree | 2ab972f561b36d7eae1fc9846c93f365faed8e68 /application/palemoon/base | |
parent | 263927c717e7eb7146091839930f36424d7bd5bf (diff) | |
download | UXP-92207c99ab0fe9d7b1500ecf9b5a17e44cc495dc.tar UXP-92207c99ab0fe9d7b1500ecf9b5a17e44cc495dc.tar.gz UXP-92207c99ab0fe9d7b1500ecf9b5a17e44cc495dc.tar.lz UXP-92207c99ab0fe9d7b1500ecf9b5a17e44cc495dc.tar.xz UXP-92207c99ab0fe9d7b1500ecf9b5a17e44cc495dc.zip |
[PALEMOON] [Frontend vs Backend] Login Manager: Bug 1045987 - Implemented "getBrowserForContentWindow" method in tabbrowser.xml
Diffstat (limited to 'application/palemoon/base')
-rw-r--r-- | application/palemoon/base/content/tabbrowser.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml index ef0af5afb..b5395bbd9 100644 --- a/application/palemoon/base/content/tabbrowser.xml +++ b/application/palemoon/base/content/tabbrowser.xml @@ -302,6 +302,16 @@ </body> </method> + <method name="getBrowserForContentWindow"> + <parameter name="aWindow"/> + <body> + <![CDATA[ + var tab = this._getTabForContentWindow(aWindow); + return tab ? tab.linkedBrowser : null; + ]]> + </body> + </method> + <method name="getBrowserForOuterWindowID"> <parameter name="aID"/> <body> |