From 3ebd07cbcabef99dacea27b7412939253bd0af25 Mon Sep 17 00:00:00 2001 From: Jason Zhai Date: Thu, 24 Apr 2025 23:34:41 -0700 Subject: [PATCH] Fix RazorSdk test failures to unblock main --- ...ootJsonManifest.Build.staticwebassets.json | 79 ++++------- ...edToBuildOutput.Build.staticwebassets.json | 79 ++++------- ...duleTargetPaths.Build.staticwebassets.json | 48 +++++++ ...nitialization.Publish.staticwebassets.json | 134 ++++-------------- ...ublishModules.Publish.staticwebassets.json | 134 ++++-------------- ...nitialization.Publish.staticwebassets.json | 72 ++++++++++ ...0Hosted_Works.Publish.staticwebassets.json | 72 ++++++++++ ...tJsonManifest.Publish.staticwebassets.json | 134 ++++-------------- ...ldMinimal_Works.Build.staticwebassets.json | 79 ++++------- ...ld_Hosted_Works.Build.staticwebassets.json | 48 +++++++ ...Minimal_Works.Publish.staticwebassets.json | 134 ++++-------------- ...iles_AsAssets.Publish.staticwebassets.json | 72 ++++++++++ ..._Hosted_Works.Publish.staticwebassets.json | 72 ++++++++++ 13 files changed, 552 insertions(+), 605 deletions(-) diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Build_DoesNotGenerateManifestJson_IncludesJSModulesOnBlazorBootJsonManifest.Build.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Build_DoesNotGenerateManifestJson_IncludesJSModulesOnBlazorBootJsonManifest.Build.staticwebassets.json index b588b60e57f9..cd60c2e72cb5 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Build_DoesNotGenerateManifestJson_IncludesJSModulesOnBlazorBootJsonManifest.Build.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Build_DoesNotGenerateManifestJson_IncludesJSModulesOnBlazorBootJsonManifest.Build.staticwebassets.json @@ -16795,6 +16795,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -36616,61 +36640,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\_framework\\dotnet.js.gz", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "gzip", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "gzip" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.js.map.gz", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\_framework\\dotnet.js.map.gz", diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Build_SatelliteAssembliesAreCopiedToBuildOutput.Build.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Build_SatelliteAssembliesAreCopiedToBuildOutput.Build.staticwebassets.json index 299c22ce0e46..838528da4e83 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Build_SatelliteAssembliesAreCopiedToBuildOutput.Build.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Build_SatelliteAssembliesAreCopiedToBuildOutput.Build.staticwebassets.json @@ -19109,6 +19109,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -40918,61 +40942,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\blazorwasm\\obj\\Debug\\${Tfm}\\compressed\\_framework\\dotnet.js.gz", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "gzip", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "gzip" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.js.map.gz", "AssetFile": "${ProjectPath}\\blazorwasm\\obj\\Debug\\${Tfm}\\compressed\\_framework\\dotnet.js.map.gz", diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JSModules_ManifestIncludesModuleTargetPaths.Build.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JSModules_ManifestIncludesModuleTargetPaths.Build.staticwebassets.json index 5ade8f8ae410..1c89a88efdd2 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JSModules_ManifestIncludesModuleTargetPaths.Build.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JSModules_ManifestIncludesModuleTargetPaths.Build.staticwebassets.json @@ -17450,6 +17450,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -37620,6 +37644,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_CanCustomizeBlazorInitialization.Publish.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_CanCustomizeBlazorInitialization.Publish.staticwebassets.json index 821695ba33b5..c4b198d4a3ab 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_CanCustomizeBlazorInitialization.Publish.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_CanCustomizeBlazorInitialization.Publish.staticwebassets.json @@ -18905,61 +18905,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.br", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "br", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "br" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.js.gz", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.gz", @@ -19005,61 +18950,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.gz", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "gzip", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "gzip" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.native.js.br", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.native.js.br", @@ -20499,6 +20389,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_CanHaveDifferentBuildAndPublishModules.Publish.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_CanHaveDifferentBuildAndPublishModules.Publish.staticwebassets.json index 21863643f972..86f549bd7b43 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_CanHaveDifferentBuildAndPublishModules.Publish.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_CanHaveDifferentBuildAndPublishModules.Publish.staticwebassets.json @@ -18636,61 +18636,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.br", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "br", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "br" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.js.gz", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.gz", @@ -18736,61 +18681,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.gz", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "gzip", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "gzip" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.native.js.br", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.native.js.br", @@ -20230,6 +20120,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_Hosted_CanCustomizeBlazorInitialization.Publish.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_Hosted_CanCustomizeBlazorInitialization.Publish.staticwebassets.json index 14467ad18355..8642ef1734cd 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_Hosted_CanCustomizeBlazorInitialization.Publish.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/JsModules_Hosted_CanCustomizeBlazorInitialization.Publish.staticwebassets.json @@ -20141,6 +20141,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -20241,6 +20265,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -22086,6 +22134,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Publish60Hosted_Works.Publish.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Publish60Hosted_Works.Publish.staticwebassets.json index 900c1538026a..274d08d588eb 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Publish60Hosted_Works.Publish.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Publish60Hosted_Works.Publish.staticwebassets.json @@ -8836,6 +8836,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -8936,6 +8960,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -11109,6 +11157,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Publish_DoesNotGenerateManifestJson_IncludesJSModulesOnBlazorBootJsonManifest.Publish.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Publish_DoesNotGenerateManifestJson_IncludesJSModulesOnBlazorBootJsonManifest.Publish.staticwebassets.json index 6f18be40d935..0e02914eef18 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Publish_DoesNotGenerateManifestJson_IncludesJSModulesOnBlazorBootJsonManifest.Publish.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/Publish_DoesNotGenerateManifestJson_IncludesJSModulesOnBlazorBootJsonManifest.Publish.staticwebassets.json @@ -18636,61 +18636,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.br", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "br", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "br" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.js.gz", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.gz", @@ -18736,61 +18681,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.gz", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "gzip", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "gzip" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.native.js.br", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.native.js.br", @@ -20230,6 +20120,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_BuildMinimal_Works.Build.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_BuildMinimal_Works.Build.staticwebassets.json index 6cf5bc1db770..a7bb1a3c6abe 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_BuildMinimal_Works.Build.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_BuildMinimal_Works.Build.staticwebassets.json @@ -16887,6 +16887,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -36708,61 +36732,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\_framework\\dotnet.js.gz", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "gzip", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "gzip" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.js.map.gz", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\_framework\\dotnet.js.map.gz", diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Build_Hosted_Works.Build.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Build_Hosted_Works.Build.staticwebassets.json index 6a1d5050e80d..7d8c87218973 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Build_Hosted_Works.Build.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Build_Hosted_Works.Build.staticwebassets.json @@ -17175,6 +17175,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -37345,6 +37369,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_PublishMinimal_Works.Publish.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_PublishMinimal_Works.Publish.staticwebassets.json index 42437bc8a2f9..a5a82d76e7e0 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_PublishMinimal_Works.Publish.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_PublishMinimal_Works.Publish.staticwebassets.json @@ -19198,61 +19198,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.br", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "br", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "br" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.js.gz", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.gz", @@ -19298,61 +19243,6 @@ } ] }, - { - "Route": "_framework/dotnet.js", - "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.js.gz", - "Selectors": [ - { - "Name": "Content-Encoding", - "Value": "gzip", - "Quality": "__quality__" - } - ], - "ResponseHeaders": [ - { - "Name": "Accept-Ranges", - "Value": "bytes" - }, - { - "Name": "Cache-Control", - "Value": "no-cache" - }, - { - "Name": "Content-Encoding", - "Value": "gzip" - }, - { - "Name": "Content-Length", - "Value": "__content-length__" - }, - { - "Name": "Content-Type", - "Value": "text/javascript" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "ETag", - "Value": "__etag__" - }, - { - "Name": "Last-Modified", - "Value": "__last-modified__" - }, - { - "Name": "Vary", - "Value": "Content-Encoding" - } - ], - "EndpointProperties": [ - { - "Name": "integrity", - "Value": "__integrity__" - } - ] - }, { "Route": "_framework/dotnet.native.js.br", "AssetFile": "${ProjectPath}\\obj\\Debug\\${Tfm}\\compressed\\publish\\_framework\\dotnet.native.js.br", @@ -21216,6 +21106,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Publish_DoesNotIncludeXmlDocumentationFiles_AsAssets.Publish.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Publish_DoesNotIncludeXmlDocumentationFiles_AsAssets.Publish.staticwebassets.json index 72ff207a7672..6a0be66afef6 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Publish_DoesNotIncludeXmlDocumentationFiles_AsAssets.Publish.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Publish_DoesNotIncludeXmlDocumentationFiles_AsAssets.Publish.staticwebassets.json @@ -19674,6 +19674,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -19774,6 +19798,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -21727,6 +21775,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" diff --git a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Publish_Hosted_Works.Publish.staticwebassets.json b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Publish_Hosted_Works.Publish.staticwebassets.json index 72ff207a7672..6a0be66afef6 100644 --- a/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Publish_Hosted_Works.Publish.staticwebassets.json +++ b/test/Microsoft.NET.Sdk.BlazorWebAssembly.Tests/StaticWebAssetsBaselines/StaticWebAssets_Publish_Hosted_Works.Publish.staticwebassets.json @@ -19674,6 +19674,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -19774,6 +19798,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__" @@ -21727,6 +21775,30 @@ } ], "EndpointProperties": [ + { + "Name": "PreloadAs", + "Value": "script" + }, + { + "Name": "PreloadCrossorigin", + "Value": "anonymous" + }, + { + "Name": "PreloadGroup", + "Value": "webassembly" + }, + { + "Name": "PreloadOrder", + "Value": "1" + }, + { + "Name": "PreloadPriority", + "Value": "high" + }, + { + "Name": "PreloadRel", + "Value": "preload" + }, { "Name": "integrity", "Value": "__integrity__"