Skip to content

Commit 32412e6

Browse files
committed
Remove explicit WasmBootConfigFileName from tests
1 parent caa429c commit 32412e6

File tree

17 files changed

+0
-23
lines changed

17 files changed

+0
-23
lines changed

src/Components/WebAssembly/Directory.Build.props

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,4 @@
44
<!-- Avoid source build issues with WebAssembly -->
55
<ExcludeFromSourceOnlyBuild>true</ExcludeFromSourceOnlyBuild>
66
</PropertyGroup>
7-
8-
<PropertyGroup>
9-
<WasmBootConfigFileName>dotnet.boot.js</WasmBootConfigFileName>
10-
</PropertyGroup>
117
</Project>

src/Components/WebAssembly/testassets/CustomBasePathApp/wwwroot/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
</head>
1010
<body>
1111
<app>Loading...</app>
12-
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
1312
<script src="_framework/blazor.webassembly.js"></script>
1413
</body>
1514
</html>

src/Components/WebAssembly/testassets/HostedInAspNet.Client/wwwroot/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<body>
88
<app>Loading...</app>
99
<script src="customJsFileForTests.js"></script>
10-
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
1110
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
1211

1312
<!--

src/Components/WebAssembly/testassets/StandaloneApp/wwwroot/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<a class="dismiss">🗙</a>
2020
</div>
2121

22-
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
2322
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
2423
<script>
2524
(function(){

src/Components/WebAssembly/testassets/ThreadingApp.Server/Components/App.razor

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
<a class="dismiss">🗙</a>
2020
</div>
2121

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

src/Components/WebAssembly/testassets/ThreadingApp/wwwroot/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<a class="dismiss">🗙</a>
1919
</div>
2020

21-
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
2221
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
2322
<script>
2423
(function(){

src/Components/WebAssembly/testassets/Wasm.Prerendered.Server/Pages/_Layout.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<body>
1414
@RenderBody()
1515

16-
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
1716
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
1817
<script>
1918
function start() {

src/Components/test/testassets/BasicTestApp/wwwroot/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
return Blazor.runtime.runtimeBuildInfo.buildConfiguration;
5454
}
5555
</script>
56-
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
5756
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
5857

5958
<script>

src/Components/test/testassets/Components.TestServer/Pages/Client/MultipleComponentsLayout.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

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

36-
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
3736
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
3837
<script src="js/jsRootComponentInitializers.js"></script>
3938
<script>

src/Components/test/testassets/Components.TestServer/Pages/SaveState.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@
128128
}
129129
else
130130
{
131-
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
132131
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
133132
}
134133

0 commit comments

Comments
 (0)