Commit fb24f61
Make BlazorWebView file-provider wrapping opt-in via AppType
The net11.0 base added UsePlatformHandler / IBlazorWebViewHandler and a test
(BlazorWebViewUsesCustomHandlerOperations) that asserts CreateFileProvider
returns the handler's own file provider by identity. The fingerprinting work
wrapped the platform provider whenever a bundled asset manifest was present -
even with no AppType - which broke that identity for every app with static
web assets.
Bind the whole feature (host-page rendering + @assets fingerprinting) to
AppType: when AppType is null, return the platform provider unchanged, exactly
preserving legacy behaviour. Fingerprinting only needs the wrapper on the
AppType path, which is where the manifest's ResourceAssetCollection is injected
into the renderer.
MacCatalyst device tests: 45 passed, 1 pre-existing skip - including the base's
custom-handler tests and the AppType/fingerprint tests together.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 2ca68fe1-bef6-46a6-a0fd-17b7654cef341 parent 6f78016 commit fb24f61
1 file changed
Lines changed: 14 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
168 | 176 | | |
169 | 177 | | |
170 | 178 | | |
171 | | - | |
| 179 | + | |
172 | 180 | | |
173 | 181 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
190 | 187 | | |
191 | 188 | | |
192 | 189 | | |
| |||
0 commit comments