<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Create WebAssembly functions"
   href="https://bugs.webkit.org/show_bug.cgi?id=148373#c24">Comment # 24</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Create WebAssembly functions"
   href="https://bugs.webkit.org/show_bug.cgi?id=148373">bug 148373</a>
              from <span class="vcard"><a class="email" href="mailto:sukolsak&#64;gmail.com" title="Sukolsak Sakshuwong &lt;sukolsak&#64;gmail.com&gt;"> <span class="fn">Sukolsak Sakshuwong</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=148373#c21">comment #21</a>)
<span class="quote">&gt; Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=260130&amp;action=diff" name="attach_260130" title="Patch">attachment 260130</a> <a href="attachment.cgi?id=260130&amp;action=edit" title="Patch">[details]</a></span></span >
&gt;
<span class="quote">&gt; So we need to insert executable-&gt;isWebAssemblyExecutable() case here (of
&gt; course, Internals is just used for the tests. So this assertion never occurs
&gt; in the production I think.)</span >

Thanks. I have added the following diff to WebCore/testing/Internals.cpp

&#64;&#64; -1485,10 +1485,14 &#64;&#64; String Internals::parserMetaData(Deprecated::ScriptValue value)
         result.append('&quot;');
     } else if (executable-&gt;isEvalExecutable())
         result.appendLiteral(&quot;eval&quot;);
-    else {
-        ASSERT(executable-&gt;isProgramExecutable());
+    else if (executable-&gt;isProgramExecutable())
         result.appendLiteral(&quot;program&quot;);
-    }
+#if ENABLE(WEBASSEMBLY)
+    else if (executable-&gt;isWebAssemblyExecutable())
+        result.appendLiteral(&quot;WebAssembly&quot;);
+#endif
+    else
+        ASSERT_NOT_REACHED();

     result.appendLiteral(&quot; { &quot;);
     result.appendNumber(startLine);

As you wrote, Internals is just used for the tests. The code that I added ('result.appendLiteral(&quot;WebAssembly&quot;);') will never be executed, because we are currently not testing WebAssembly. But even if we test it, I'm wondering whether this code will ever be reached, given how WebAssembly is loaded.</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>