mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 518090: Extension manager throws an unknown result. r=robstrong
This commit is contained in:
parent
66101db8a2
commit
c34de6ab3a
@ -5390,7 +5390,7 @@ ExtensionManager.prototype = {
|
||||
|
||||
removeInstallListenerAt: function EM_removeInstallListenerAt(index) {
|
||||
if (index < 0 || index >= this._installListeners.length)
|
||||
throw Cr.NS_ERROR_INVALID_ARGUMENT;
|
||||
throw Cr.NS_ERROR_INVALID_ARG;
|
||||
|
||||
this._installListeners[index] = null;
|
||||
while (this._installListeners[this._installListeners.length - 1] === null)
|
||||
|
Loading…
Reference in New Issue
Block a user