<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cannot access the SQLTransaction.constructor.prototype"
   href="https://bugs.webkit.org/show_bug.cgi?id=156613#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cannot access the SQLTransaction.constructor.prototype"
   href="https://bugs.webkit.org/show_bug.cgi?id=156613">bug 156613</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=156613#c8">comment #8</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=156613#c7">comment #7</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=156613#c6">comment #6</a>)
&gt; &gt; &gt; Created <span class=""><a href="attachment.cgi?id=277099" name="attach_277099" title="simple test case">attachment 277099</a> <a href="attachment.cgi?id=277099&amp;action=edit" title="simple test case">[details]</a></span>
&gt; &gt; &gt; simple test case
&gt; &gt; &gt; 
&gt; &gt; &gt; Simple test case to reproduce the bug. Just open and check the output in the
&gt; &gt; &gt; Javascript console and you will see that the prototype of SQLTransaction's
&gt; &gt; &gt; constructor is empty.
&gt; &gt; 
&gt; &gt; The test seems to work for me in the latest WebKit, I see in the console:
&gt; &gt; [Log] SQLTransaction {executeSql: function} (attachment.cgi, line 6)
&gt; &gt; [Log] function Object() { (attachment.cgi, line 7)
&gt; &gt;     [native code]
&gt; &gt; }
&gt; &gt; [Log] {} (attachment.cgi, line 8)
&gt; 
&gt; The problem is that last line should have been something like this:
&gt; 
&gt; SQLTransaction {Symbol(Symbol.toStringTag): &quot;SQLTransaction&quot;}
&gt; * constructor: SQLTransaction()
&gt; * executeSql: executeSql()
&gt; * Symbol(Symbol.toStringTag): &quot;SQLTransaction&quot;
&gt; * __proto__: Object</span >

I doubt there's any spec on precisely how such things should be logged in the console, which is purely an advisory side function of the browser for developers.

Are there any other more severe differences in the native javascript, such as typeof or instanceof differing?</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>