Skip to content

Feature detection and running Web Assembly #84

@jfbastien

Description

@jfbastien

The initial polyfill will unconditionally load JavaScript code, then load the Web Assembly binary blob, and somehow translate it to a form that'll execute using the JavaScript VM.

Once we have native support this polyfill will be a fallback: developer's code should only load the polyfill and use it if Web Assembly isn't natively supported.

How will we detect native Web Assembly support? Something like navigator.mimeTypes['application/x-wasm'] !== undefined?

How will we trigger the browser's native support? Use an <embed> or <script> tag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions