Title: [272832] trunk/JSTests
Revision
272832
Author
[email protected]
Date
2021-02-13 02:59:07 -0800 (Sat, 13 Feb 2021)

Log Message

Unreviewed, fix stress/copy-data-properties-fast-path.js occasional failure

Wrap it with try-catch since stack-overflow RangeError in JS can happen.

* stress/copy-data-properties-fast-path.js:

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (272831 => 272832)


--- trunk/JSTests/ChangeLog	2021-02-13 10:12:08 UTC (rev 272831)
+++ trunk/JSTests/ChangeLog	2021-02-13 10:59:07 UTC (rev 272832)
@@ -1,3 +1,11 @@
+2021-02-13  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, fix stress/copy-data-properties-fast-path.js occasional failure
+
+        Wrap it with try-catch since stack-overflow RangeError in JS can happen.
+
+        * stress/copy-data-properties-fast-path.js:
+
 2021-02-11  Alexey Shvayka  <[email protected]>
 
         SetIntegrityLevel should call [[DefineOwnProperty]] with partial descriptor

Modified: trunk/JSTests/stress/copy-data-properties-fast-path.js (272831 => 272832)


--- trunk/JSTests/stress/copy-data-properties-fast-path.js	2021-02-13 10:12:08 UTC (rev 272831)
+++ trunk/JSTests/stress/copy-data-properties-fast-path.js	2021-02-13 10:59:07 UTC (rev 272832)
@@ -4,4 +4,7 @@
   let { ...r } = { xx:0 };
   foo();
 }
-foo();
+
+try {
+    foo();
+} catch { }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to