Changeset 268037 in webkit for trunk/Source/JavaScriptCore/ChangeLog
- Timestamp:
- Oct 5, 2020, 11:31:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r268013 r268037 1 2020-10-05 Ross Kirsling <[email protected]> 2 3 %TypedArray%.from must do mapping and putting in lockstep 4 https://bugs.webkit.org/show_bug.cgi?id=217349 5 6 Reviewed by Yusuke Suzuki. 7 8 %TypedArray%.from first turns the input iterator into a list to find the size for the resulting typed array, 9 then it fills the typed array with the list elements. 10 11 If a map function is provided, however, it must be called during the *second* phase, not the first, 12 because if an element throws upon valueOf, that should prevent all further calls of the map function. 13 14 * builtins/TypedArrayConstructor.js: 15 (from): 16 1 17 2020-10-05 Yusuke Suzuki <[email protected]> 2 18
Note:
See TracChangeset
for help on using the changeset viewer.