Skip to content

Commit 83d8e91

Browse files
authored
Tweak all WASM test assets to use dotnet.boot.js
1 parent bae3c5f commit 83d8e91

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

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

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

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

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

1213
<!--

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

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

22+
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
2223
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
2324
<script>
2425
(function(){

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

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

21+
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
2122
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
2223
<script>
2324
(function(){

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

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

16+
<script>window["__DOTNET_INTERNAL_BOOT_CONFIG_SRC"] = "dotnet.boot.js";</script>
1617
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
1718
<script>
1819
function start() {

0 commit comments

Comments
 (0)