Bug 188877 - TypedArray.set should be called with a string primitive values
Summary: TypedArray.set should be called with a string primitive values
Status: RESOLVED DUPLICATE of bug 212730
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Safari 11
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-22 20:52 PDT by isol2
Modified: 2020-06-08 08:41 PDT (History)
14 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description isol2 2018-08-22 20:52:42 PDT
version: 235121
OS: Ubuntu 16.04 x64

Steps to reproduce
let ta = new Int32Array(4);
ta.set("");

Actual results:
TypeError: First argument should be an object

Expected results:
pass without failures


V8, Chakra and SpiderMonkey works as expected.


cinfuzz
Comment 1 Alexey Proskuryakov 2018-08-23 09:49:28 PDT
Reproduces in Safari.
Comment 2 Radar WebKit Bug Importer 2019-01-20 14:35:52 PST
<rdar://problem/47417487>
Comment 3 Alexey Shvayka 2020-06-08 08:41:43 PDT

*** This bug has been marked as a duplicate of bug 212730 ***