mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 08:37:30 +09:00
parent
7e9d02223c
commit
c7212a0d1a
1 changed files with 0 additions and 11 deletions
|
|
@ -383,17 +383,6 @@
|
||||||
<parameter name="aWindow"/>
|
<parameter name="aWindow"/>
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
// When not using remote browsers, we can take a fast path by getting
|
|
||||||
// directly from the content window to the browser without looping
|
|
||||||
// over all browsers.
|
|
||||||
if (!gMultiProcessBrowser) {
|
|
||||||
let browser = aWindow.QueryInterface(Ci.nsIInterfaceRequestor)
|
|
||||||
.getInterface(Ci.nsIWebNavigation)
|
|
||||||
.QueryInterface(Ci.nsIDocShell)
|
|
||||||
.chromeEventHandler;
|
|
||||||
return this.getTabForBrowser(browser);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (let i = 0; i < this.browsers.length; i++) {
|
for (let i = 0; i < this.browsers.length; i++) {
|
||||||
// NB: We use contentWindowAsCPOW so that this code works both
|
// NB: We use contentWindowAsCPOW so that this code works both
|
||||||
// for remote browsers as well. aWindow may be a CPOW.
|
// for remote browsers as well. aWindow may be a CPOW.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue