Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Blazor] Remove explicit WasmBootConfigFileName from tests #61034

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/Components/WebAssembly/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@
<!-- Avoid source build issues with WebAssembly -->
<ExcludeFromSourceOnlyBuild>true</ExcludeFromSourceOnlyBuild>
</PropertyGroup>

<PropertyGroup>
<WasmBootConfigFileName>dotnet.boot.js</WasmBootConfigFileName>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
</head>
<body>
<app>Loading...</app>
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js"></script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<body>
<app>Loading...</app>
<script src="customJsFileForTests.js"></script>
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>

<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<a class="dismiss">🗙</a>
</div>

<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
<script>
(function(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<a class="dismiss">🗙</a>
</div>

<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="@Assets["_framework/blazor.web.js"]"></script>
</body>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<a class="dismiss">🗙</a>
</div>

<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
<script>
(function(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<body>
@RenderBody()

<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
<script>
function start() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
return Blazor.runtime.runtimeBuildInfo.buildConfiguration;
}
</script>
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>

<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

<button id="load-boot-script" onclick="start()">Load boot script</button>

<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
<script src="js/jsRootComponentInitializers.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
}
else
{
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
elementToFocus.focus();
}
</script>
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="@Assets["_framework/blazor.web.js"]" autostart="false" suppress-error="BL9992"></script>
<script src="_content/TestContentPackage/counterInterop.js"></script>
<script src="js/circuitContextTest.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
</head>
<body>
<Components.WasmMinimal.Routes @rendermode="@PageRenderMode" />
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="@Assets["_framework/blazor.web.js"]" autostart="false"></script>
<script>
Blazor.start({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<body>
<h1 id="ready">Form test cases</h1>
<NamedFormContextNoFormContextLayout />
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="@Assets["_framework/blazor.web.js"]" suppress-error="BL9992"></script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

<body>
<Components.WasmRemoteAuthentication.Routes @rendermode="new InteractiveWebAssemblyRenderMode(prerender: false)" />
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="@Assets["_framework/blazor.web.js"]" autostart="false"></script>
<script src="_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<body>
<ServerApp @rendermode="@RenderMode.InteractiveServer" />

<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="@Assets["_framework/blazor.web.js"]" autostart="false"></script>
<script>
const suppressEnhancedNavigation = sessionStorage.getItem('suppress-enhanced-navigation') === 'true';
Expand Down
4 changes: 0 additions & 4 deletions src/Components/test/testassets/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,4 @@
<_Parameter2>true</_Parameter2>
</AssemblyAttribute>
</ItemGroup>

<PropertyGroup>
<WasmBootConfigFileName>dotnet.boot.js</WasmBootConfigFileName>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<body>
<div id="blazor-error-ui">Error</div>
<app>Loading...</app>
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
<script>
(function(){
Expand Down
Loading