How does one disable webassembly in Microsoft Edge

1313 1 Reputation point

I've come across this guide as to how to disable webassembly on browsers.

I've tried to disable it by going to "edge://flags" and settings all flags that contains the word WebAssembly to disabled (e.g . "Experimental WebAssembly", "WebAssembly baseline compiler" etc )

However when I browse to Calculator (an example of c# winforms in the browser) , I still see wasm files and dll's being downloaded and the wasm calculator app still works in the browser.

Does anyone perhaps know how one disables the WebAssembly feature/module in Microsoft Edge

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
1,447 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yu Zhou-MSFT 9,366 Reputation points Microsoft Vendor

    Hi @1313

    I notice that you're using Edge Chromium so you can disable WebAssembly in Edge just like the Chrome/Chromium way in the link you provide:

    Launch Edge with the following command-line argument: --js-flags=--noexpose_wasm.

    You can add the argument after the Edge target in the shortcut properties, then click Apply and OK to save the change:


    After the change, when you run Edge again, WebAssembly is disabled:


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Yu Zhou