Title: [249587] trunk/JSTests
Revision
249587
Author
[email protected]
Date
2019-09-06 13:08:56 -0700 (Fri, 06 Sep 2019)

Log Message

Move web-assembly-constructors-should-not-override-global-object-property.js below JSTests/wasm/stress.
https://bugs.webkit.org/show_bug.cgi?id=201551

Reviewed by Tadeu Zagallo.

Ports that don't support WASM will always fail this test if it stays in JSTests/stress.

* stress/web-assembly-constructors-should-not-override-global-object-property.js: Removed.
* wasm/stress/web-assembly-constructors-should-not-override-global-object-property.js: Copied from JSTests/stress/web-assembly-constructors-should-not-override-global-object-property.js.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/JSTests/ChangeLog (249586 => 249587)


--- trunk/JSTests/ChangeLog	2019-09-06 19:11:20 UTC (rev 249586)
+++ trunk/JSTests/ChangeLog	2019-09-06 20:08:56 UTC (rev 249587)
@@ -1,5 +1,17 @@
 2019-09-06  Mark Lam  <[email protected]>
 
+        Move web-assembly-constructors-should-not-override-global-object-property.js below JSTests/wasm/stress.
+        https://bugs.webkit.org/show_bug.cgi?id=201551
+
+        Reviewed by Tadeu Zagallo.
+
+        Ports that don't support WASM will always fail this test if it stays in JSTests/stress.
+
+        * stress/web-assembly-constructors-should-not-override-global-object-property.js: Removed.
+        * wasm/stress/web-assembly-constructors-should-not-override-global-object-property.js: Copied from JSTests/stress/web-assembly-constructors-should-not-override-global-object-property.js.
+
+2019-09-06  Mark Lam  <[email protected]>
+
         Fix bmalloc::Allocator:tryAllocate() to return null on failure to allocate.
         https://bugs.webkit.org/show_bug.cgi?id=201529
         <rdar://problem/53935772>

Deleted: trunk/JSTests/stress/web-assembly-constructors-should-not-override-global-object-property.js (249586 => 249587)


--- trunk/JSTests/stress/web-assembly-constructors-should-not-override-global-object-property.js	2019-09-06 19:11:20 UTC (rev 249586)
+++ trunk/JSTests/stress/web-assembly-constructors-should-not-override-global-object-property.js	2019-09-06 20:08:56 UTC (rev 249587)
@@ -1,4 +0,0 @@
-var originalModule = this.Module = {};
-WebAssembly.Module;
-if (Module !== originalModule)
-    throw new Error('Global property `Module` was overwritten!');

Copied: trunk/JSTests/wasm/stress/web-assembly-constructors-should-not-override-global-object-property.js (from rev 249586, trunk/JSTests/stress/web-assembly-constructors-should-not-override-global-object-property.js) (0 => 249587)


--- trunk/JSTests/wasm/stress/web-assembly-constructors-should-not-override-global-object-property.js	                        (rev 0)
+++ trunk/JSTests/wasm/stress/web-assembly-constructors-should-not-override-global-object-property.js	2019-09-06 20:08:56 UTC (rev 249587)
@@ -0,0 +1,4 @@
+var originalModule = globalThis.Module = {};
+WebAssembly.Module;
+if (Module !== originalModule)
+    throw new Error('Global property `Module` was overwritten!');
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to