[Webkit-unassigned] [Bug 92828] New: IndexedDB: Need to clear exception when getting keypath

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 19:49:05 PDT 2012


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

           Summary: IndexedDB: Need to clear exception when getting
                    keypath
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jiyeon0402.kim at samsung.com


Refer to IDBDatabase::CreateObjectStore method,     
if (!options.isUndefinedOrNull()) {
        String keyPathString;
        Vector<String> keyPathArray;
        if (options.get("keyPath", keyPathArray))
            keyPath = IDBKeyPath(keyPathArray);
        else if (options.getWithUndefinedOrNullCheck("keyPath", keyPathString))
            keyPath = IDBKeyPath(keyPathString);
    }
After failed to get keyPath array, options.getWithUndefinedOrNullCheck return fail.
Because execState of Dictionary had exception already. So we need to clear before trying to get keypath

-- 
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