Modern IDB: Implement most readonly attributes of IDBObjectStore.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Oct 2015 17:29:41 +0000 (17:29 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Oct 2015 17:29:41 +0000 (17:29 +0000)
commit76354d2737d44fc1f61070e3a521e18b764b584d
tree356b4b818eb458a003255a933114868096e64e86
parent218ca5beb29c1cd0d8d4fa90d90c4a5686c68212
Modern IDB: Implement most readonly attributes of IDBObjectStore.
https://bugs.webkit.org/show_bug.cgi?id=150617

Reviewed by Alex Christensen.

Source/WebCore:

Test: storage/indexeddb/modern/objectstore-attributes.html

* Modules/indexeddb/IDBObjectStore.h:

* Modules/indexeddb/client/IDBAnyImpl.cpp:
(WebCore::IDBClient::IDBAny::IDBAny):
* Modules/indexeddb/client/IDBAnyImpl.h:
(WebCore::IDBClient::IDBAny::create):

* Modules/indexeddb/client/IDBObjectStoreImpl.cpp:
(WebCore::IDBClient::IDBObjectStore::name):
(WebCore::IDBClient::IDBObjectStore::keyPathAny):
(WebCore::IDBClient::IDBObjectStore::keyPath):
(WebCore::IDBClient::IDBObjectStore::transaction):
(WebCore::IDBClient::IDBObjectStore::id): Deleted.
* Modules/indexeddb/client/IDBObjectStoreImpl.h:

* Modules/indexeddb/legacy/LegacyObjectStore.h:
(WebCore::LegacyObjectStore::transaction):

LayoutTests:

* storage/indexeddb/modern/objectstore-attributes-expected.txt: Added.
* storage/indexeddb/modern/objectstore-attributes.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/storage/indexeddb/modern/objectstore-attributes-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/modern/objectstore-attributes.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/indexeddb/IDBObjectStore.h
Source/WebCore/Modules/indexeddb/client/IDBAnyImpl.cpp
Source/WebCore/Modules/indexeddb/client/IDBAnyImpl.h
Source/WebCore/Modules/indexeddb/client/IDBObjectStoreImpl.cpp
Source/WebCore/Modules/indexeddb/client/IDBObjectStoreImpl.h
Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h