<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] JSC test wasm.yaml/wasm/js-api/test_basic_api.js.default-wasm and wasm.yaml/wasm/js-api/test_Module.js.default-wasm fail with Exception: ReferenceError: Can't find variable: WebAssembly"
   href="https://bugs.webkit.org/show_bug.cgi?id=163846#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] JSC test wasm.yaml/wasm/js-api/test_basic_api.js.default-wasm and wasm.yaml/wasm/js-api/test_Module.js.default-wasm fail with Exception: ReferenceError: Can't find variable: WebAssembly"
   href="https://bugs.webkit.org/show_bug.cgi?id=163846">bug 163846</a>
              from <span class="vcard"><a class="email" href="mailto:jfbastien&#64;apple.com" title="JF Bastien &lt;jfbastien&#64;apple.com&gt;"> <span class="fn">JF Bastien</span></a>
</span></b>
        <pre><span class="quote">&gt; &gt; Are the conditions at the top wrong for GTK?
&gt; 
&gt; They look sane to me.</span >

Hmm, I don't think they are:

$isFTLPlatform = !($architecture == &quot;x86&quot; || $architecture == &quot;arm&quot; || $hostOS == &quot;windows&quot; || $hostOS == &quot;linux&quot; &amp;&amp; $architecture == &quot;arm64&quot;)

We'd need a way to see if the platform built with ENABLE(WEBASSEMBLY). I'm not sure how this is done.

<span class="quote">&gt; Me either! I think we need to figure out how it is that WebAssembly works at
&gt; all on the Mac port, then decide if it's ready to be turned on for other
&gt; ports or not. If it's not ready yet, then we should find a way to skip the
&gt; test conditional on whether or not it's enabled. </span >

It's not ready yet, and we're only concentrating on Mac bits right now so some of the code will need Linux-isms to work well on Linux. I wouldn't enable it yet, unless someone is willing to do the Linux work.


<span class="quote">&gt; Alternatively, we could modify the test to pass whenever the WebAssembly
&gt; variable is not defined, and assume that we would notice if such a major
&gt; feature accidentally disappeared.</span >

I'd rather not since the entire point is to test that WebAssembly works. It's unlikely that we'd mess that up, but still it's not released so nobody would notice.</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>