зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
313c17cd49
Коммит
2fe2c60a92
|
@ -90,7 +90,7 @@ NfcCallback.prototype = {
|
|||
", errormsg: " + aErrorMsg);
|
||||
return;
|
||||
}
|
||||
resolver.reject(aErrorMsg);
|
||||
resolver.reject(new this._window.Error(aErrorMsg));
|
||||
},
|
||||
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsISupportsWeakReference,
|
||||
|
|
Загрузка…
Ссылка в новой задаче