<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#c5">Comment # 5</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:beidson&#64;apple.com" title="Brady Eidson &lt;beidson&#64;apple.com&gt;"> <span class="fn">Brady Eidson</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156939#c3">comment #3</a>)
<span class="quote">&gt; The generated bindings seem wrong here. They'll just convert undefined to 0.
&gt; This will probably require tweaking the bindings generator and used
&gt; Optional&lt;&gt; type for this parameter.</span >

That's totally reasonable.

In fact, I *would* like to consolidate the multiple IDBFactory::open methods down to one. It seems silly that there's two just because of the optional argument.

If the bindings get changed to pass Optional&lt;&gt; for the second argument, IDBFactory can + should adopt that.</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>