Bug 902362 - DOMRequestHelper specifies _requests as array, but should be object. r=fabrice

This commit is contained in:
Fabrice Desré 2013-08-09 09:32:02 -07:00
parent 39b72f1e53
commit 7df165623f

View File

@ -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) {