Title: [243920] trunk/JSTests
Revision
243920
Author
[email protected]
Date
2019-04-04 17:28:21 -0700 (Thu, 04 Apr 2019)

Log Message

Unreviewed. Make the test from r243906 catch the thrown exceptions.

* stress/inferred-types-regex-matches-array.js:

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (243919 => 243920)


--- trunk/JSTests/ChangeLog	2019-04-05 00:11:08 UTC (rev 243919)
+++ trunk/JSTests/ChangeLog	2019-04-05 00:28:21 UTC (rev 243920)
@@ -1,5 +1,11 @@
 2019-04-04  Saam Barati  <[email protected]>
 
+        Unreviewed. Make the test from r243906 catch the thrown exceptions.
+
+        * stress/inferred-types-regex-matches-array.js:
+
+2019-04-04  Saam Barati  <[email protected]>
+
         createRegExpMatchesArray does not respect inferred types
         https://bugs.webkit.org/show_bug.cgi?id=193287
 

Modified: trunk/JSTests/stress/inferred-types-regex-matches-array.js (243919 => 243920)


--- trunk/JSTests/stress/inferred-types-regex-matches-array.js	2019-04-05 00:11:08 UTC (rev 243919)
+++ trunk/JSTests/stress/inferred-types-regex-matches-array.js	2019-04-05 00:28:21 UTC (rev 243920)
@@ -39,10 +39,14 @@
 }
 
 for (let i = 0; i < 10000; i++) {
-    foo(i);
+    try {
+        foo(i);
+    } catch { }
 }
 
-let match = "foo".match(/(?<oolProperty1>foo)/);
-match.groups.oolProperty1 = objY;       // This property overlaps with oolProperty1 of structure S3.
-global = match;
-foo();
+try {
+    let match = "foo".match(/(?<oolProperty1>foo)/);
+    match.groups.oolProperty1 = objY;
+    global = match;
+    foo();
+} catch { }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to