mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1121818 - Reject promise with instance of 'Error'. r=dimi
From da865c1cd62df020eba8515c3e19b962ccddd322 Mon Sep 17 00:00:00 2001 --- dom/nfc/nsNfc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
parent
0cb518946a
commit
fb66184555
@ -90,7 +90,7 @@ NfcCallback.prototype = {
|
||||
", errormsg: " + aErrorMsg);
|
||||
return;
|
||||
}
|
||||
resolver.reject(aErrorMsg);
|
||||
resolver.reject(new this._window.Error(aErrorMsg));
|
||||
},
|
||||
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsISupportsWeakReference,
|
||||
|
Loading…
Reference in New Issue
Block a user