chakra-core / chakra-core/ChakraCore
Wrong realization of TypedArray's toLocaleString()
オープン
Bug
ES Spec Conformance
Severity: 3
- 主要言語
- JavaScript
- スター
- 9.3k
- フォーク
- 1.2k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Executing following code in ch 1.10 :
```
Uint8Array.prototype.toLocaleString.call(0)
```
The output is ""
However, in [specific](https://www.ecma-international.org/ecma-262/9.0/index.html#sec-%typedarray%.prototype.tolocalestring) :
"ValidateTypedArray is applied to the this value prior to evaluating the algorithm. "
So, a TypeError should be thrown.
BT group
2018.08.29
コントリビューションガイド
調査の方向性
Issue で報告されている Uint8Array.prototype.toLocaleString.call(0) の再現から始め、リンクされている ECMAScript の TypedArray toLocaleString 仕様とその動作を比較してください。無効な this 値が空文字列ではなく TypeError を生成すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 38/100