mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 902362 - DOMRequestHelper specifies _requests as array, but should be object. r=fabrice
This commit is contained in:
parent
39b72f1e53
commit
7df165623f
@ -117,7 +117,7 @@ DOMRequestIpcHelper.prototype = {
|
|||||||
new DOMRequestIpcHelperMessageListener(this, aWindow, aMessages);
|
new DOMRequestIpcHelperMessageListener(this, aWindow, aMessages);
|
||||||
|
|
||||||
this._window = aWindow;
|
this._window = aWindow;
|
||||||
this._requests = [];
|
this._requests = {};
|
||||||
this._id = this._getRandomId();
|
this._id = this._getRandomId();
|
||||||
|
|
||||||
if (this._window) {
|
if (this._window) {
|
||||||
@ -166,7 +166,7 @@ DOMRequestIpcHelper.prototype = {
|
|||||||
this._destroyed = true;
|
this._destroyed = true;
|
||||||
|
|
||||||
this._DOMRequestIpcHelperMessageListener.destroy();
|
this._DOMRequestIpcHelperMessageListener.destroy();
|
||||||
this._requests = [];
|
this._requests = {};
|
||||||
this._window = null;
|
this._window = null;
|
||||||
|
|
||||||
if(this.uninit) {
|
if(this.uninit) {
|
||||||
|
Loading…
Reference in New Issue
Block a user