Give a more detailed message for TypeErrors that result from EnforceRange.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Dec 2015 00:20:37 +0000 (00:20 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Dec 2015 00:20:37 +0000 (00:20 +0000)
commit1439f7056f8fa4812d5b7cd7382d047bf2b26466
tree588084a558ba803d59ae341dc956b8db9f1b1019
parentb5d6c05f17fd5214dd61f074e1d64cab8fbd2cdb
Give a more detailed message for TypeErrors that result from EnforceRange.
https://bugs.webkit.org/show_bug.cgi?id=151725

Reviewed by Tim Horton.

Source/WebCore:

No new tests (Covered by changes to existing tests).

* bindings/js/JSDOMBinding.cpp:
(WebCore::rangeErrorString):
(WebCore::enforceRange):

LayoutTests:

* crypto/subtle/aes-cbc-generate-key-expected.txt:
* js/dom/webidl-type-mapping-expected.txt:
* storage/indexeddb/intversion-bad-parameters-expected.txt:
* storage/indexeddb/version-change-event-basic-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/crypto/subtle/aes-cbc-generate-key-expected.txt
LayoutTests/js/dom/webidl-type-mapping-expected.txt
LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt
LayoutTests/storage/indexeddb/version-change-event-basic-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMBinding.cpp