mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 943372 - Use the newer remote-browser webNavigation jsm in metrofx front end. r=mbrubeck
This commit is contained in:
parent
67a82f4cd5
commit
0c58029717
@ -798,9 +798,19 @@
|
||||
onget="return this._contentTitle;"
|
||||
readonly="true"/>
|
||||
|
||||
<property name="webNavigation"
|
||||
onget="return this._remoteWebNavigation;"
|
||||
readonly="true"/>
|
||||
<field name="_remoteWebNavigation">null</field>
|
||||
<property name="webNavigation" readonly="true">
|
||||
<getter>
|
||||
<![CDATA[
|
||||
if (!this._remoteWebNavigation) {
|
||||
let jsm = "resource://gre/modules/RemoteWebNavigation.jsm";
|
||||
let RemoteWebNavigation = Components.utils.import(jsm, {}).RemoteWebNavigation;
|
||||
this._remoteWebNavigation = new RemoteWebNavigation(this);
|
||||
}
|
||||
return this._remoteWebNavigation;
|
||||
]]>
|
||||
</getter>
|
||||
</property>
|
||||
|
||||
<property name="contentWindow"
|
||||
readonly="true"
|
||||
|
Loading…
Reference in New Issue
Block a user