Bug 1143526 - DataStore API should create DOMError with proper error messages, r=fabrice

This commit is contained in:
Andrea Marchesini 2015-03-31 23:23:52 +01:00
parent e87cbf11c3
commit d39381422e

View File

@ -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 */