mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1098437 fix handling of webrtc messages in chat window, r=markh,florian
This commit is contained in:
parent
3ac22ecb8c
commit
57afc8ed1c
@ -53,6 +53,14 @@
|
||||
this.isActive = !this.minimized;
|
||||
this._deferredChatLoaded.resolve(this);
|
||||
}, true);
|
||||
|
||||
// load content.js to support webrtc, fullscreen, etc.
|
||||
this.addEventListener("load", function loaded(event) {
|
||||
this.removeEventListener("load", loaded, true);
|
||||
let mm = this.content.messageManager;
|
||||
mm.loadFrameScript("chrome://browser/content/content.js", true);
|
||||
}, true);
|
||||
|
||||
if (this.src)
|
||||
this.setAttribute("src", this.src);
|
||||
]]></constructor>
|
||||
|
Loading…
Reference in New Issue
Block a user