[Webkit-unassigned] [Bug 76075] New: IndexedDB: Invalid keys yielded by key paths should raise exceptions, not error callbacks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 11 10:21:46 PST 2012


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

           Summary: IndexedDB: Invalid keys yielded by key paths should
                    raise exceptions, not error callbacks
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jsbell at chromium.org


Basic repro:

var invalidKey = {};
var store = db.createObjectStore("storeName", {keyPath: "key"});
var request = store.put({key: invalidKey});

Expected:

Exception thrown by store.put() call

Actual:

Error event raised on request object.

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



More information about the webkit-unassigned mailing list