<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Autogenerated IDBFactory.open() does the wrong thing if you pass an explicit 'undefined' as the second argument"
   href="https://bugs.webkit.org/show_bug.cgi?id=156939#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Autogenerated IDBFactory.open() does the wrong thing if you pass an explicit 'undefined' as the second argument"
   href="https://bugs.webkit.org/show_bug.cgi?id=156939">bug 156939</a>
              from <span class="vcard"><a class="email" href="mailto:cdumez&#64;apple.com" title="Chris Dumez &lt;cdumez&#64;apple.com&gt;"> <span class="fn">Chris Dumez</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156939#c9">comment #9</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=277135&amp;action=diff" name="attach_277135" title="WIP patch">attachment 277135</a> <a href="attachment.cgi?id=277135&amp;action=edit" title="WIP patch">[details]</a></span>
&gt; WIP patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=277135&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=277135&amp;action=review</a>
&gt; 
&gt; Thanks for tackling this!
&gt; 
&gt; Giving a review feedback comment to clarify where I thought this was heading:
&gt; 
&gt; &gt; Source/WebCore/Modules/indexeddb/IDBFactory.h:57
&gt; &gt;      RefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext&amp;, const String&amp; name, ExceptionCodeWithMessage&amp;);
&gt; &gt; -    RefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext&amp;, const String&amp; name, unsigned long long version, ExceptionCodeWithMessage&amp;);
&gt; &gt; +    RefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext&amp;, const String&amp; name, Optional&lt;unsigned long long&gt; version, ExceptionCodeWithMessage&amp;);
&gt; 
&gt; The new method signature:
&gt; + RefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext&amp;, const String&amp; name,
&gt; Optional&lt;unsigned long long&gt; version, ExceptionCodeWithMessage&amp;);
&gt; Seems great.
&gt; 
&gt; But my understanding was that the new mechanism would completely obsolete
&gt; the version of open() without the version argument.
&gt; 
&gt; i.e., line 56 should be gone, and everything in the auto generated
&gt; JSIDBFactoryOpenFunction would call the new line 57 version.</span >

Yes, I haven't had time to experiment with this part yet but I will.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>