mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 768690 - Fix B2G debugger server script. r=vingtetun
This commit is contained in:
parent
f1f083f6f9
commit
1731a7e451
@ -161,7 +161,7 @@ DeviceTabActor.prototype = {
|
||||
'tab should have an actorID.');
|
||||
return {
|
||||
'actor': this.actorID,
|
||||
'title': this.browser.contentTitle,
|
||||
'title': this.browser.title,
|
||||
'url': this.browser.document.documentURI
|
||||
}
|
||||
},
|
||||
@ -222,7 +222,7 @@ DeviceTabActor.prototype = {
|
||||
this.conn.addActorPool(this._contextPool);
|
||||
|
||||
this.threadActor = new ThreadActor(this);
|
||||
this._addDebuggees(this.browser.content.wrappedJSObject);
|
||||
this._addDebuggees(this.browser.wrappedJSObject);
|
||||
this._contextPool.addActor(this.threadActor);
|
||||
},
|
||||
|
||||
@ -293,7 +293,7 @@ DeviceTabActor.prototype = {
|
||||
* Prepare to enter a nested event loop by disabling debuggee events.
|
||||
*/
|
||||
preNest: function DTA_preNest() {
|
||||
let windowUtils = this.browser.content
|
||||
let windowUtils = this.browser
|
||||
.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindowUtils);
|
||||
windowUtils.suppressEventHandling(true);
|
||||
@ -304,7 +304,7 @@ DeviceTabActor.prototype = {
|
||||
* Prepare to exit a nested event loop by enabling debuggee events.
|
||||
*/
|
||||
postNest: function DTA_postNest(aNestData) {
|
||||
let windowUtils = this.browser.content
|
||||
let windowUtils = this.browser
|
||||
.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindowUtils);
|
||||
windowUtils.resumeTimeouts();
|
||||
|
Loading…
Reference in New Issue
Block a user