Skip to content

Commit 2e29b2a

Browse files
radekdoulikCopilot
andcommitted
Use PlatformDetection.IsCoreCLR for the dotnet#129758 browser gate
Switch the remaining IsNotMonoRuntime condition to IsCoreCLR so the gate matches the rest of the PR and precisely targets CoreCLR-wasm. Co-authored-by: Copilot <[email protected]>
1 parent ec29d64 commit 2e29b2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/libraries/Common/tests/System/Net/Http/ResponseStreamTest.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ public async Task BrowserHttpHandler_StreamingRequest_CancelRequest(bool cancelA
568568
// Browser+CoreCLR currently surfaces a TaskCanceledException (100s HttpClient.Timeout)
569569
// instead of the expected HttpRequestException ("TypeError: Failed to fetch"); the
570570
// CoreCLR-wasm streaming-request-over-HTTP/1 path differs from Mono-wasm (which passes).
571-
[ActiveIssue("https://github.com/dotnet/runtime/issues/129758", typeof(PlatformDetection), nameof(PlatformDetection.IsNotMonoRuntime))]
571+
[ActiveIssue("https://github.com/dotnet/runtime/issues/129758", typeof(PlatformDetection), nameof(PlatformDetection.IsCoreCLR))]
572572
public async Task BrowserHttpHandler_StreamingRequest_Http1Fails()
573573
{
574574
var WebAssemblyEnableStreamingRequestKey = new HttpRequestOptionsKey<bool>("WebAssemblyEnableStreamingRequest");

0 commit comments

Comments
 (0)