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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Jiyeon Kim
After Bug 88287 implement, I'll continue this issue.
Joshua Bell
*** This bug has been marked as a duplicate of bug 96614 ***