[Webkit-unassigned] [Bug 25075] New: Javascript - Wrong error code from client side database on duplicate key

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 7 06:45:49 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25075

           Summary: Javascript - Wrong error code from client side database
                    on duplicate key
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ybec at tersus.com


When inserting a record to a client side database table, if the new record is
duplicate (violates a primary key constraint), we get the wrong error code
(error code 1, instead of error code 6, which is the expected code as
documented in
http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/UsingtheJavascriptDatabase/chapter_5_section_7.html#//apple_ref/doc/uid/TP40007256-CH3-SW9
)

See attached example


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list