Bug 192606 - CloneDeserializer should succeed deserialization for DOM objects in non JSDOMGlobalObject context
Summary: CloneDeserializer should succeed deserialization for DOM objects in non JSDOM...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
: 192605 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-12-11 14:08 PST by youenn fablet
Modified: 2018-12-14 11:39 PST (History)
5 users (show)

See Also:


Attachments
WIP (6.39 KB, patch)
2018-12-11 14:10 PST, youenn fablet
no flags Details | Formatted Diff | Diff
WIP (6.39 KB, patch)
2018-12-11 14:11 PST, youenn fablet
ews: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews116 for mac-sierra (2.32 MB, application/zip)
2018-12-14 11:39 PST, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2018-12-11 14:08:04 PST
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.
Comment 1 youenn fablet 2018-12-11 14:10:26 PST
Created attachment 357075 [details]
WIP
Comment 2 youenn fablet 2018-12-11 14:11:43 PST
Created attachment 357076 [details]
WIP
Comment 3 Radar WebKit Bug Importer 2018-12-11 14:12:45 PST
<rdar://problem/46641015>
Comment 4 Alexey Proskuryakov 2018-12-11 23:51:03 PST
*** Bug 192605 has been marked as a duplicate of this bug. ***
Comment 5 Build Bot 2018-12-14 11:39:25 PST
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
Comment 6 Build Bot 2018-12-14 11:39:27 PST
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