Bug 92828 - [JSC] IndexedDB: Need to clear exception when getting keypath
Summary: [JSC] IndexedDB: Need to clear exception when getting keypath
Status: RESOLVED DUPLICATE of bug 96614
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 88287
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-31 19:49 PDT by Jiyeon Kim
Modified: 2012-11-13 08:51 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiyeon Kim 2012-07-31 19:49:07 PDT
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
Comment 1 Jiyeon Kim 2012-09-19 18:40:59 PDT
After Bug 88287 implement, I'll continue this issue.
Comment 2 Joshua Bell 2012-11-13 08:51:25 PST

*** This bug has been marked as a duplicate of bug 96614 ***