mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 1077168 - Have RemoteWebProgress dispatch DOMWindowID's to nsIWebProgressListener's. r=felipe.
--HG-- extra : rebase_source : 5714b2711661bcf029096d870de5fb7cda83cdc6
This commit is contained in:
parent
6fc217517d
commit
92b15a3194
@ -67,7 +67,8 @@ let WebProgressListener = {
|
||||
aWebProgress = {
|
||||
isTopLevel: aWebProgress.isTopLevel,
|
||||
isLoadingDocument: aWebProgress.isLoadingDocument,
|
||||
loadType: aWebProgress.loadType
|
||||
loadType: aWebProgress.loadType,
|
||||
DOMWindowID: aWebProgress.DOMWindowID,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -35,6 +35,7 @@ function RemoteWebProgress(aManager, aIsTopLevel) {
|
||||
|
||||
this._isLoadingDocument = false;
|
||||
this._DOMWindow = null;
|
||||
this._DOMWindowID = 0;
|
||||
this._isTopLevel = aIsTopLevel;
|
||||
this._loadType = 0;
|
||||
}
|
||||
@ -54,7 +55,7 @@ RemoteWebProgress.prototype = {
|
||||
|
||||
get isLoadingDocument() { return this._isLoadingDocument },
|
||||
get DOMWindow() { return this._DOMWindow; },
|
||||
get DOMWindowID() { return 0; },
|
||||
get DOMWindowID() { return this._DOMWindowID; },
|
||||
get isTopLevel() { return this._isTopLevel },
|
||||
get loadType() { return this._loadType; },
|
||||
|
||||
@ -147,6 +148,7 @@ RemoteWebProgressManager.prototype = {
|
||||
// Update the actual WebProgress fields.
|
||||
webProgress._isLoadingDocument = json.webProgress.isLoadingDocument;
|
||||
webProgress._DOMWindow = objects.DOMWindow;
|
||||
webProgress._DOMWindowID = json.webProgress.DOMWindowID;
|
||||
webProgress._loadType = json.webProgress.loadType;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user