⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243920 in webkit


Ignore:
Timestamp:
Apr 4, 2019, 5:28:21 PM (7 years ago)
Author:
sbarati@apple.com
Message:

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

  • stress/inferred-types-regex-matches-array.js:
Location:
trunk/JSTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JSTests/ChangeLog

    r243906 r243920  
     12019-04-04  Saam Barati  <sbarati@apple.com>
     2
     3        Unreviewed. Make the test from r243906 catch the thrown exceptions.
     4
     5        * stress/inferred-types-regex-matches-array.js:
     6
    172019-04-04  Saam Barati  <sbarati@apple.com>
    28
  • trunk/JSTests/stress/inferred-types-regex-matches-array.js

    r243906 r243920  
    4040
    4141for (let i = 0; i < 10000; i++) {
    42     foo(i);
     42    try {
     43        foo(i);
     44    } catch { }
    4345}
    4446
    45 let match = "foo".match(/(?<oolProperty1>foo)/);
    46 match.groups.oolProperty1 = objY;       // This property overlaps with oolProperty1 of structure S3.
    47 global = match;
    48 foo();
     47try {
     48    let match = "foo".match(/(?<oolProperty1>foo)/);
     49    match.groups.oolProperty1 = objY;
     50    global = match;
     51    foo();
     52} catch { }
Note: See TracChangeset for help on using the changeset viewer.