mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
Bug 902362 - DOMRequestHelper specifies _requests as array, but should be object. r=fabrice
This commit is contained in:
parent
af86cee526
commit
30970c47d5
@ -117,7 +117,7 @@ DOMRequestIpcHelper.prototype = {
|
||||
new DOMRequestIpcHelperMessageListener(this, aWindow, aMessages);
|
||||
|
||||
this._window = aWindow;
|
||||
this._requests = [];
|
||||
this._requests = {};
|
||||
this._id = this._getRandomId();
|
||||
|
||||
if (this._window) {
|
||||
@ -166,7 +166,7 @@ DOMRequestIpcHelper.prototype = {
|
||||
this._destroyed = true;
|
||||
|
||||
this._DOMRequestIpcHelperMessageListener.destroy();
|
||||
this._requests = [];
|
||||
this._requests = {};
|
||||
this._window = null;
|
||||
|
||||
if(this.uninit) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user