<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Console could be made useful for very simple await expressions"
   href="https://bugs.webkit.org/show_bug.cgi?id=165681#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Console could be made useful for very simple await expressions"
   href="https://bugs.webkit.org/show_bug.cgi?id=165681">bug 165681</a>
              from <span class="vcard"><a class="email" href="mailto:bburg&#64;apple.com" title="Brian Burg &lt;bburg&#64;apple.com&gt;"> <span class="fn">Brian Burg</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=296882&amp;action=diff" name="attach_296882" title="[PATCH] Proposed Fix">attachment 296882</a> <a href="attachment.cgi?id=296882&amp;action=edit" title="[PATCH] Proposed Fix">[details]</a></span>
[PATCH] Proposed Fix

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=296882&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=296882&amp;action=review</a>

The code changes look good, but I agree that stringifying the result is going to be confusing and we should try to avoid it somehow.

<span class="quote">&gt; LayoutTests/inspector/controller/runtime-controller.html:23
&gt; +function causeExceptionImmediately() {</span >

Nit: throwExceptionImmediately

<span class="quote">&gt; LayoutTests/inspector/controller/runtime-controller.html:76
&gt; +        description: &quot;Test evaluating a simple await expression wraps it into an async function and eventually resolves the value.&quot;,</span >

Grammaro.

<span class="quote">&gt; Source/WebInspectorUI/UserInterface/Controllers/RuntimeManager.js:181
&gt; +            esprimaSyntaxTree = esprima.parse(&quot;(async function(){&quot; + originalExpression + &quot;})&quot;);</span >

Nit: template literal

<span class="quote">&gt; Source/WebInspectorUI/UserInterface/Controllers/RuntimeManager.js:206
&gt; +            &amp;&amp; statement.expression.type === &quot;AwaitExpression&quot;) {</span >

Unusual deviation from style guide, but it does make this more readable. Hmm. Up to you.</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>