Title: [275052] trunk/JSTests
Revision
275052
Author
[email protected]
Date
2021-03-25 12:57:08 -0700 (Thu, 25 Mar 2021)

Log Message

early-return-from-builtin.js should try/catch in case of OOM
https://bugs.webkit.org/show_bug.cgi?id=223756

Reviewed by Yusuke Suzuki.

It's throwing an OOM on iOS.

* stress/early-return-from-builtin.js:

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (275051 => 275052)


--- trunk/JSTests/ChangeLog	2021-03-25 19:16:12 UTC (rev 275051)
+++ trunk/JSTests/ChangeLog	2021-03-25 19:57:08 UTC (rev 275052)
@@ -1,3 +1,14 @@
+2021-03-25  Saam Barati  <[email protected]>
+
+        early-return-from-builtin.js should try/catch in case of OOM
+        https://bugs.webkit.org/show_bug.cgi?id=223756
+
+        Reviewed by Yusuke Suzuki.
+
+        It's throwing an OOM on iOS.
+
+        * stress/early-return-from-builtin.js:
+
 2021-03-24  Michael Saboff  <[email protected]>
 
         [YARR] Interpreter incorrectly matches non-BMP characters with multiple . w/dotAll flag

Modified: trunk/JSTests/stress/early-return-from-builtin.js (275051 => 275052)


--- trunk/JSTests/stress/early-return-from-builtin.js	2021-03-25 19:16:12 UTC (rev 275051)
+++ trunk/JSTests/stress/early-return-from-builtin.js	2021-03-25 19:57:08 UTC (rev 275052)
@@ -18,4 +18,6 @@
   }
 };
 
-[...iter];
+try {
+    [...iter];
+} catch {}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to