Changeset 246692 in webkit
- Timestamp:
- Jun 21, 2019 1:28:05 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r246645 r246692 1 2019-06-21 Alexey Shvayka <shvaikalesh@gmail.com> 2 3 Remove extra check in RegExp @matchSlow 4 https://bugs.webkit.org/show_bug.cgi?id=198846 5 6 Reviewed by Joseph Pecoraro. 7 8 Type of RegExp `exec` result is already asserted in @regExpExec. 9 10 * builtins/RegExpPrototype.js: 11 (globalPrivate.matchSlow): Remove isObject check. 12 1 13 2019-06-20 Justin Michaud <justin_michaud@apple.com> 2 14 -
trunk/Source/JavaScriptCore/builtins/RegExpPrototype.js
r246567 r246692 127 127 if (resultList.length > maximumReasonableMatchSize) 128 128 @throwOutOfMemoryError(); 129 130 if (!@isObject(result))131 @throwTypeError("RegExp.prototype.@@match call to RegExp.exec didn't return null or an object");132 129 133 130 let resultString = @toString(result[0]);
Note: See TracChangeset
for help on using the changeset viewer.