Modern IDB: IDBBindingUtilities chokes on unicode strings for get/set.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Jan 2016 22:21:24 +0000 (22:21 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Jan 2016 22:21:24 +0000 (22:21 +0000)
commitf68393ba398f4595cd204b7c30e42fc62d6ba08e
tree78051256841ac418728f78de3a9bc6bb884d8de0
parent7c37750c6ad76b7f9adc05f16fcc43771cfae3d0
Modern IDB: IDBBindingUtilities chokes on unicode strings for get/set.
https://bugs.webkit.org/show_bug.cgi?id=152921

Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

* indexeddb/keypath-expected.txt:

Source/WebCore:

No new tests (Covered by existing tests).

* bindings/js/IDBBindingUtilities.cpp:
(WebCore::get): Don't do a potentially lossy utf8() conversion on the string.
(WebCore::set): Ditto.

LayoutTests:

* platform/mac-wk1/TestExpectations:

* storage/indexeddb/objectstore-autoincrement-expected.txt:
* storage/indexeddb/objectstore-autoincrement.html:
* storage/indexeddb/resources/objectstore-autoincrement.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/indexeddb/keypath-expected.txt
LayoutTests/platform/mac-wk1/TestExpectations
LayoutTests/storage/indexeddb/objectstore-autoincrement-expected.txt
LayoutTests/storage/indexeddb/objectstore-autoincrement.html
LayoutTests/storage/indexeddb/resources/objectstore-autoincrement.js
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/IDBBindingUtilities.cpp