Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r228560 - IndexedDB: Several test crash in when destroying a ID…
…BKeyData https://bugs.webkit.org/show_bug.cgi?id=167576 Patch by Fujii Hironori <Hironori.Fujii@sony.com> on 2018-02-16 Reviewed by Michael Catanzaro. Source/WebCore: IDBKeyDataHashTraits::constructDeletedValue is using operator= to assign deletedValue. But, the value is destructed just before calling constructDeletedValue. You can't use operator= for a destructed value. No new tests (Covered by existing tests). * Modules/indexeddb/IDBKeyData.h: (WebCore::IDBKeyDataHashTraits::constructDeletedValue): Construct null value before assigning deletedValue. LayoutTests: * platform/gtk/TestExpectations: Unmarked imported/w3c/IndexedDB-private-browsing/idbcursor_iterating.html, imported/w3c/IndexedDB-private-browsing/idbcursor_iterating_index.html and storage/indexeddb/modern/index-3-private.html. * platform/wpe/TestExpectations: Unmarked imported/w3c/IndexedDB-private-browsing/idbcursor_iterating.html and imported/w3c/IndexedDB-private-browsing/idbcursor_iterating_index.html.
- Loading branch information
1 parent
89032b9
commit 7e4ffd4
Showing
5 changed files
with
34 additions
and
8 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