Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] Use cross origin policy headers #62016

Merged
merged 2 commits into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFrameworks>$(NetCoreAppCurrent)-Browser</TargetFrameworks>
<TestRuntime>true</TestRuntime>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --engine-arg=--expose-gc</WasmXHarnessArgs>
<WasmXHarnessArgs>$(WasmXHarnessArgs) --engine-arg=--expose-gc --web-server-use-cop</WasmXHarnessArgs>
</PropertyGroup>
<ItemGroup>
<Compile Include="System\Runtime\InteropServices\JavaScript\JavaScriptTests.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace System.Runtime.InteropServices.JavaScript.Tests
public static class JavaScriptTests
{
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
public static void CoreTypes()
{
var arr = new Uint8ClampedArray(50);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

namespace System.Runtime.InteropServices.JavaScript.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
public static class SharedArrayBufferTests
{
private static Function _objectPrototype;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public static void Float64ArrayFrom(Function objectPrototype)
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Uint8ClampedArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand All @@ -118,7 +117,6 @@ public static void Uint8ClampedArrayFromSharedArrayBuffer(Function objectPrototy
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Uint8ArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand All @@ -128,7 +126,6 @@ public static void Uint8ArrayFromSharedArrayBuffer(Function objectPrototype)
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Uint16ArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand All @@ -138,7 +135,6 @@ public static void Uint16ArrayFromSharedArrayBuffer(Function objectPrototype)
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Uint32ArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand All @@ -148,7 +144,6 @@ public static void Uint32ArrayFromSharedArrayBuffer(Function objectPrototype)
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Int8ArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand All @@ -158,7 +153,6 @@ public static void Int8ArrayFromSharedArrayBuffer(Function objectPrototype)
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Int16ArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand All @@ -168,7 +162,6 @@ public static void Int16ArrayFromSharedArrayBuffer(Function objectPrototype)
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Int32ArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand All @@ -178,7 +171,6 @@ public static void Int32ArrayFromSharedArrayBuffer(Function objectPrototype)
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Float32ArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand All @@ -188,7 +180,6 @@ public static void Float32ArrayFromSharedArrayBuffer(Function objectPrototype)
}

[Theory]
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
[MemberData(nameof(Object_Prototype))]
public static void Float64ArrayFromSharedArrayBuffer(Function objectPrototype)
{
Expand Down