Skip to content

Commit 3d23851

Browse files
Copilotpavelsavara
andauthored
[browser] Remove rest of StartupMemoryCache (#115878)
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: pavelsavara <[email protected]>
1 parent 49baf1d commit 3d23851

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

src/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ Copyright (c) .NET Foundation. All rights reserved.
188188
<_WasmEnableWebcil>$(WasmEnableWebcil)</_WasmEnableWebcil>
189189
<_WasmEnableWebcil Condition="'$(_TargetingNET80OrLater)' != 'true'">false</_WasmEnableWebcil>
190190
<_WasmEnableWebcil Condition="'$(_WasmEnableWebcil)' == ''">true</_WasmEnableWebcil>
191-
<_BlazorWebAssemblyStartupMemoryCache>$(BlazorWebAssemblyStartupMemoryCache)</_BlazorWebAssemblyStartupMemoryCache>
192191
<_BlazorWebAssemblyJiterpreter>$(BlazorWebAssemblyJiterpreter)</_BlazorWebAssemblyJiterpreter>
193192
<_BlazorWebAssemblyRuntimeOptions>$(BlazorWebAssemblyRuntimeOptions)</_BlazorWebAssemblyRuntimeOptions>
194193
<_WasmInlineBootConfig>$(WasmInlineBootConfig)</_WasmInlineBootConfig>
@@ -398,7 +397,6 @@ Copyright (c) .NET Foundation. All rights reserved.
398397
InvariantGlobalization="$(InvariantGlobalization)"
399398
LoadCustomIcuData="$(_LoadCustomIcuData)"
400399
LoadFullICUData="$(_BlazorWebAssemblyLoadAllGlobalizationData)"
401-
StartupMemoryCache="$(_BlazorWebAssemblyStartupMemoryCache)"
402400
Jiterpreter="$(_BlazorWebAssemblyJiterpreter)"
403401
RuntimeOptions="$(_BlazorWebAssemblyRuntimeOptions)"
404402
Extensions="@(WasmBootConfigExtension)"
@@ -807,7 +805,6 @@ Copyright (c) .NET Foundation. All rights reserved.
807805
InvariantGlobalization="$(InvariantGlobalization)"
808806
LoadCustomIcuData="$(_LoadCustomIcuData)"
809807
LoadFullICUData="$(_BlazorWebAssemblyLoadAllGlobalizationData)"
810-
StartupMemoryCache="$(_BlazorWebAssemblyStartupMemoryCache)"
811808
Jiterpreter="$(_BlazorWebAssemblyJiterpreter)"
812809
RuntimeOptions="$(_BlazorWebAssemblyRuntimeOptions)"
813810
EnvVariables="@(WasmEnvironmentVariable)"

src/mono/sample/wasm/browser-advanced/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ try {
3737
// here we show how emscripten could be further configured
3838
// It is preferred to use specific 'with***' methods instead in all other cases.
3939
.withConfig({
40-
startupMemoryCache: true,
4140
maxParallelDownloads: 1,
4241
resources: {
4342
modulesAfterConfigLoaded: {

src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/BootJsonData.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ public class BootJsonData
8585
/// </summary>
8686
public string globalizationMode { get; set; }
8787

88-
/// <summary>
89-
/// Gets or sets a value that determines if the caching startup memory is enabled.
90-
/// </summary>
91-
public bool? startupMemoryCache { get; set; }
92-
9388
/// <summary>
9489
/// Gets a value for mono runtime options.
9590
/// </summary>

src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/GenerateWasmBootJson.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ public class GenerateWasmBootJson : Task
6464

6565
public string? RuntimeConfigJsonPath { get; set; }
6666

67-
public string StartupMemoryCache { get; set; }
68-
6967
public string Jiterpreter { get; set; }
7068

7169
public string RuntimeOptions { get; set; }
@@ -117,7 +115,6 @@ private void WriteBootConfig(string entryAssemblyName)
117115
var result = new BootJsonData
118116
{
119117
resources = new ResourcesData(),
120-
startupMemoryCache = helper.ParseOptionalBool(StartupMemoryCache)
121118
};
122119

123120
if (IsTargeting100OrLater())

0 commit comments

Comments
 (0)