Changeset 243920 in webkit
- Timestamp:
- Apr 4, 2019, 5:28:21 PM (7 years ago)
- Location:
- trunk/JSTests
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
stress/inferred-types-regex-matches-array.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r243906 r243920 1 2019-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 1 7 2019-04-04 Saam Barati <sbarati@apple.com> 2 8 -
trunk/JSTests/stress/inferred-types-regex-matches-array.js
r243906 r243920 40 40 41 41 for (let i = 0; i < 10000; i++) { 42 foo(i); 42 try { 43 foo(i); 44 } catch { } 43 45 } 44 46 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(); 47 try { 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.