Skip to content

Blazor WebAssembly: Firefox complains about deprecated exception handling instruction #118200

Description

@oakad

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

At some point, Firefox started to display the following deprecation warning for the Blazor wasm code:

The WebAssembly exception handling 'try' instruction is deprecated and should no longer be used. Please recompile to use the 'try_table' instruction instead.

I suppose, dotnet wasm compiler still emits "legacy" exception handling code.

Describe the solution you'd like

Don't expect to see any warnings from the browser.

Suppose, dotnet wasm compiler should be given an option to emit "new" exception handling code.

If such an option exists, it's really difficult to find.

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions