Bug 92828

Summary: [JSC] IndexedDB: Need to clear exception when getting keypath
Product: WebKit Reporter: Jiyeon Kim <jiyeon0402.kim>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: donggwan.kim, jsbell, kihong.kwon, vimff0
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 88287    
Bug Blocks:    

Jiyeon Kim
Reported 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
Attachments
Jiyeon Kim
Comment 1 2012-09-19 18:40:59 PDT
After Bug 88287 implement, I'll continue this issue.
Joshua Bell
Comment 2 2012-11-13 08:51:25 PST
*** This bug has been marked as a duplicate of bug 96614 ***
Note You need to log in before you can comment on or make changes to this bug.