Uh oh!
There was an error while loading. Please reload this page.
[browser] remove legacy js interop - #96841
Conversation
ghost
commented
Jan 11, 2024
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsPublic
Internal
TODO
|
This comment was marked as outdated.
This comment was marked as outdated.
pavelsavara
commented
Jan 14, 2024
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Jan 14, 2024
@radical |
radical
commented
Jan 15, 2024
You need an installer which references that version or newer of aspnetcore. We update the installer once a day via the darc flow. Just watch for that. |
pavelsavara
commented
Jan 15, 2024
The flow is |
pavelsavara
commented
Jan 18, 2024
maybe this #96896 |
fd9796d to
9bc6437Comparepavelsavara
commented
Jan 19, 2024
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Jan 19, 2024
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
ilonatommy
left a comment
There was a problem hiding this comment.
I wonder, we left the legacy API in src/mono/wasm/Wasm.Build.Tests/data/test-main-7.0.js but the "dotnet-latest" we use for running wbt will not contain it anymore. @radical, do we ever run wbt with older dotnet?
pavelsavara
commented
Jan 19, 2024
I filled #97217 for |
radical
commented
Jan 19, 2024
No. We can drop any 7.0 stuff. |
radekdoulik
commented
Jan 22, 2024
it looks like this caused large blazor startup regression ![]() the range is |
pavelsavara
commented
Jan 22, 2024
The slowdown is strange, there is no new code in the startup sequence, just code removed. There is also 80 KB reduction in uncompressed size, right ? |
radekdoulik
commented
Jan 22, 2024
It might be something broken with the UI startup, the time is very close to 20 seconds. So I wonder if it is related to some timeout being set to 20s. The reduced size is great and is visible in the cold startup. |
pavelsavara
commented
Jan 22, 2024
I hope this will fix it #97305 Do we have same problem in the other benchmark suite too ? |
radekdoulik
commented
Jan 22, 2024
It is indeed a timeout |

Public
MONOandBINDINGJS APIsdisableDotnet6CompatibilityJS flagHEAPXXX on emscripten moduledotnet-legacy.d.tsWasmEnableLegacyJsInteropand related trimming support for itmono_wasm_invoke_js_blazor()andWebAssembly.JSInterop.InternalCalls.InvokeJS()ICALInternal
RuntimeandJSObjectextensionsDataView...System.Runtime.InteropServices.JavaScript.Legacy.Teststimers.mjs,TimerTestsHttpRequestMessageTestSystem.Runtime.InteropServices.JavaScript.Testscall_test_methodused in some testsTODO
bind_static_method[browser][debugger] fake bind_static_method #96899Fixes#90044