<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>92828</bug_id>
          
          <creation_ts>2012-07-31 19:49:07 -0700</creation_ts>
          <short_desc>[JSC] IndexedDB: Need to clear exception when getting keypath</short_desc>
          <delta_ts>2012-11-13 08:51:25 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>96614</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>88287</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jiyeon Kim">jiyeon0402.kim</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>donggwan.kim</cc>
    
    <cc>jsbell</cc>
    
    <cc>kihong.kwon</cc>
    
    <cc>vimff0</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>683785</commentid>
    <comment_count>0</comment_count>
    <who name="Jiyeon Kim">jiyeon0402.kim</who>
    <bug_when>2012-07-31 19:49:07 -0700</bug_when>
    <thetext>Refer to IDBDatabase::CreateObjectStore method,     
if (!options.isUndefinedOrNull()) {
        String keyPathString;
        Vector&lt;String&gt; keyPathArray;
        if (options.get(&quot;keyPath&quot;, keyPathArray))
            keyPath = IDBKeyPath(keyPathArray);
        else if (options.getWithUndefinedOrNullCheck(&quot;keyPath&quot;, 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>724056</commentid>
    <comment_count>1</comment_count>
    <who name="Jiyeon Kim">jiyeon0402.kim</who>
    <bug_when>2012-09-19 18:40:59 -0700</bug_when>
    <thetext>After Bug 88287 implement, I&apos;ll continue this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>765654</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2012-11-13 08:51:25 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 96614 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>