mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1143526 - DataStore API should create DOMError with proper error messages, r=fabrice
This commit is contained in:
parent
e87cbf11c3
commit
d39381422e
@ -73,7 +73,7 @@ Cu.import('resource://gre/modules/XPCOMUtils.jsm');
|
||||
|
||||
/* Helper functions */
|
||||
function createDOMError(aWindow, aEvent) {
|
||||
return new aWindow.DOMError(aEvent.target.error.name);
|
||||
return new aWindow.DOMError(aEvent);
|
||||
}
|
||||
|
||||
/* DataStoreCursor object */
|
||||
|
Loading…
Reference in New Issue
Block a user