Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IndexedDB: Implement SharedBuffer version of put() / onSuccess()
https://bugs.webkit.org/show_bug.cgi?id=110398 Reviewed by Tony Chang. Source/WebCore: This avoids all unnecessary data copies within the context of IndexedDB proper, and removes all references to SerializedScriptValue from the IndexedDB "backend". No new tests because this is just a refactor. * bindings/v8/IDBBindingUtilities.cpp: (WebCore::deserializeIDBValueBuffer): New version of deserializeIDBValue which takes SharedBuffer. Source/WebKit/chromium: Proxy new SharedBuffer calls to WebIDBCallbacks through to the new SharedBuffer-based IDBCallbacks. * public/WebIDBCursor.h: * src/IDBCallbacksProxy.cpp: (WebKit::IDBCallbacksProxy::onSuccess): (WebKit::IDBCallbacksProxy::onSuccessWithPrefetch): * src/IDBCallbacksProxy.h: (IDBCallbacksProxy): * src/WebIDBCallbacksImpl.cpp: (WebKit::WebIDBCallbacksImpl::onSuccess): * src/WebIDBCallbacksImpl.h: (WebIDBCallbacksImpl): * tests/IDBAbortOnCorruptTest.cpp: (WebCore::MockIDBCallbacks::onSuccess): (WebCore::MockIDBCallbacks::onSuccessWithPrefetch): * tests/IDBDatabaseBackendTest.cpp: * tests/IDBRequestTest.cpp: (WebKit::TEST_F): Canonical link: https://commits.webkit.org/128836@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
24 changed files
with
185 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.