Deserialization is used in non JSDOMGlobalObject context for IDB in NetworkProcess to get access to the value in case of key path use. Currently, deserialization fails as DOM objects require a JDOMGlobalObject. In the context of IDB, there is no need for the exact JS wrapper. An empty object might be sufficient if the key path is not a property or sub property of the JS DOM object.
Created attachment 357075 [details] WIP
Created attachment 357076 [details] WIP
<rdar://problem/46641015>
*** Bug 192605 has been marked as a duplicate of this bug. ***
Comment on attachment 357076 [details] WIP Attachment 357076 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/10399021 New failing tests: imported/blink/storage/indexeddb/empty-blob-file.html imported/blink/storage/indexeddb/blob-basics-metadata.html imported/w3c/web-platform-tests/IndexedDB/keypath-special-identifiers.htm
Created attachment 357326 [details] Archive of layout-test-results from ews116 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-sierra Platform: Mac OS X 10.12.6