Skip to content

Commit 95a9c72

Browse files
authored
[wasm] Use cross origin policy headers (#62016)
* Remove active issue. * Use --web-server-use-cop.
1 parent efc8adb commit 95a9c72

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

src/libraries/System.Private.Runtime.InteropServices.JavaScript/tests/System.Private.Runtime.InteropServices.JavaScript.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
44
<TargetFrameworks>$(NetCoreAppCurrent)-Browser</TargetFrameworks>
55
<TestRuntime>true</TestRuntime>
6-
<WasmXHarnessArgs>$(WasmXHarnessArgs) --engine-arg=--expose-gc</WasmXHarnessArgs>
6+
<WasmXHarnessArgs>$(WasmXHarnessArgs) --engine-arg=--expose-gc --web-server-use-cop</WasmXHarnessArgs>
77
</PropertyGroup>
88
<ItemGroup>
99
<Compile Include="System\Runtime\InteropServices\JavaScript\JavaScriptTests.cs" />

src/libraries/System.Private.Runtime.InteropServices.JavaScript/tests/System/Runtime/InteropServices/JavaScript/JavaScriptTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ namespace System.Runtime.InteropServices.JavaScript.Tests
1111
public static class JavaScriptTests
1212
{
1313
[Fact]
14-
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
1514
public static void CoreTypes()
1615
{
1716
var arr = new Uint8ClampedArray(50);

src/libraries/System.Private.Runtime.InteropServices.JavaScript/tests/System/Runtime/InteropServices/JavaScript/SharedArrayBufferTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
namespace System.Runtime.InteropServices.JavaScript.Tests
88
{
9-
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
109
public static class SharedArrayBufferTests
1110
{
1211
private static Function _objectPrototype;

src/libraries/System.Private.Runtime.InteropServices.JavaScript/tests/System/Runtime/InteropServices/JavaScript/TypedArrayTests.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ public static void Float64ArrayFrom(Function objectPrototype)
108108
}
109109

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

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

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

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

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

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

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

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

190182
[Theory]
191-
[ActiveIssue("https://github.com/dotnet/runtime/issues/61945", TestPlatforms.Browser)]
192183
[MemberData(nameof(Object_Prototype))]
193184
public static void Float64ArrayFromSharedArrayBuffer(Function objectPrototype)
194185
{

0 commit comments

Comments
 (0)