Title: [269028] trunk/PerformanceTests
Revision
269028
Author
ticaiol...@gmail.com
Date
2020-10-27 03:12:39 -0700 (Tue, 27 Oct 2020)

Log Message

Make WebAssembly tests on JetStream 2 be feature detactable
https://bugs.webkit.org/show_bug.cgi?id=218198

Reviewed by Saam Barati.

This patch is disabling JetStream 2's WASM tests when it's not
possible to find WebAssembly constructor on global object. This allows
us to run JetStream 2 on devices without WASM support, like 32-bits
ports of WebKit.

* JetStream2/JetStreamDriver.js:

Modified Paths

Diff

Modified: trunk/PerformanceTests/ChangeLog (269027 => 269028)


--- trunk/PerformanceTests/ChangeLog	2020-10-27 09:03:25 UTC (rev 269027)
+++ trunk/PerformanceTests/ChangeLog	2020-10-27 10:12:39 UTC (rev 269028)
@@ -1,3 +1,17 @@
+2020-10-27  Caio Lima  <ticaiol...@gmail.com>
+
+        Make WebAssembly tests on JetStream 2 be feature detactable
+        https://bugs.webkit.org/show_bug.cgi?id=218198
+
+        Reviewed by Saam Barati.
+
+        This patch is disabling JetStream 2's WASM tests when it's not
+        possible to find WebAssembly constructor on global object. This allows
+        us to run JetStream 2 on devices without WASM support, like 32-bits
+        ports of WebKit.
+
+        * JetStream2/JetStreamDriver.js:
+
 2020-10-13  Keith Rollin  <krol...@apple.com>
 
         Remove leftover MACOSX_DEPLOYMENT_TARGET_macosx support

Modified: trunk/PerformanceTests/JetStream2/JetStreamDriver.js (269027 => 269028)


--- trunk/PerformanceTests/JetStream2/JetStreamDriver.js	2020-10-27 09:03:25 UTC (rev 269027)
+++ trunk/PerformanceTests/JetStream2/JetStreamDriver.js	2020-10-27 10:12:39 UTC (rev 269028)
@@ -1643,6 +1643,8 @@
 let runSeaMonster = true;
 let runCodeLoad = true;
 let runWasm = true;
+if (typeof WebAssembly === "undefined")
+    runWasm = false;
 
 if (false) {
     runOctane = false;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to