Skip to content

[MT][browser] Wasm.Browser.Config.Sample, Wasm.Browser.Config.Sample fail #91676

@ilonatommy

Description

@ilonatommy

Failing after enabling all MT library tests (#91536).

Wasm.Browser.Config.Sample:

Single asset for js-module-threads not found Error: Assert failed: Single asset for js-module-threads not found
    at Je (globals.ts:141:19)
    at assets.ts:126:5
WASM EXIT 1

Minimal config needs 2 versions: for MT and for ST, MT adding:

    {
        name: "dotnet.native.worker.js",
        behavior: "js-module-threads"
    },

Then, we're getting setRuntimeGlobals is not a function, probably because config is not loaded properly - "demo imports / promises" are embedded in the minimal config and are not getting resolved. We would need a callback to main.js on the worker to fulfill them.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions