- From: <bugzilla@jessica.w3.org>
- Date: Thu, 28 Jun 2012 22:23:11 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17643 --- Comment #1 from Jonas Sicking <jonas@sicking.cc> 2012-06-28 22:23:19 UTC --- A slightly less ambiguous case is objectStore.add("value", 1); // succeeds req = objectStore.add("value", 1); // will fail due to key collision req.onerror = function(e) { e.preventDefault(); throw; } Here it seems more clear that setting transaction.error to a "AbortError" is the right thing to do. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Thursday, 28 June 2012 22:23:22 UTC