mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 998898 - Fix webconsole exception on simulator. r=jryans
This commit is contained in:
parent
93d55c6e94
commit
58d9f4a8b3
@ -537,7 +537,9 @@ TabActor.prototype = {
|
||||
* Getter for the nsIMessageManager associated to the tab.
|
||||
*/
|
||||
get messageManager() {
|
||||
return this._chromeEventHandler;
|
||||
return this.docShell
|
||||
.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIContentFrameMessageManager);
|
||||
},
|
||||
|
||||
/**
|
||||
@ -1085,14 +1087,6 @@ Object.defineProperty(BrowserTabActor.prototype, "docShell", {
|
||||
configurable: false
|
||||
});
|
||||
|
||||
Object.defineProperty(BrowserTabActor.prototype, "messageManager", {
|
||||
get: function() {
|
||||
return this._browser.messageManager;
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: false
|
||||
});
|
||||
|
||||
Object.defineProperty(BrowserTabActor.prototype, "title", {
|
||||
get: function() {
|
||||
let title = this.contentDocument.title || this._browser.contentTitle;
|
||||
|
Loading…
Reference in New Issue
Block a user