Uh oh!
There was an error while loading. Please reload this page.
[browser] Separate hybrid globalization JS code to es6 module - #101543
Conversation
Sure. We will update |
Uh oh!
There was an error while loading. Please reload this page.
Blazor-connected failures in WBT require changes to https://github.com/ilonatommy/aspnetcore/blob/3e168fe85e2330621ed12d9c9524c80e0f743dc6/src/Components/dotnet-runtime-js/dotnet.d.ts#L176 (adding Blocked by flow of dotnet/aspnetcore#55716 to runtime. |
pavelsavara
commented
May 14, 2024
I think that the blazor PR would not fix it because it's just type definition. The error is complaining about missing files. Likely flow of blazor with this change will fix it. cc @maraf |
maraf
commented
May 14, 2024
This is just build setup error, isn't it? The globalization.js file is not copied to the output folder. Either the SDK doesn't correctly work or the WBT check isn't cotrect. There shouldn't be anything needed on blazor side to make it work. The |
ilonatommy
commented
May 15, 2024
WBT works correctly (non-Blazor |
ilonatommy
commented
May 15, 2024
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ilonatommy
commented
May 16, 2024
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…#101543) * dotnet.hybrid.js module creation when MT is off * Importing module * Remove globalization code from main module, create the globalization module for ST runtime. * Fix: `runtimeHelper` is not null if we cache it on module init. * Export functions used by hybrid globalization only when HG is on. * Do not try to call when methods are not initialized. * `mono_wasm_get_locale_info` is used also in non-HG mode, add it to the main module. * Check WBT for presence of globalization module if HG is switched on. * Fix MT globalization tests - NativeName is fixed there. * Globalization module is not expected to change on relink. * Fix blazor's assets.
Contributes to #98483.
HybridGlobalization=truedotnet.runtime.jswithout this PR:202kdotnet.runtime.jswith this PR:191k