Bug 232769

Summary: [iOS] IPC decoder for ResourceRequest loses systemPreviewInfo when there is platform data
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, dino, kkinnunen, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 231727    
Attachments:
Description Flags
Patch
none
Patch none

Chris Dumez
Reported 2021-11-05 15:23:02 PDT
The IPC decoder for ResourceRequest decoders systemPreviewInfo and sets it on the ResourceRequest. It then uses different code paths to decode the rest of the ResourceRequest based on whether or not there is underlying platform data. If there is underlying platform data, we call decodePlatformData() which creates a brand-new ResourceRequest, and thus looses the systemPreviewInfo we've just set.
Attachments
Patch (3.62 KB, patch)
2021-11-05 15:46 PDT, Chris Dumez
no flags
Patch (3.62 KB, patch)
2021-11-05 17:11 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-11-05 15:46:51 PDT
Wenson Hsieh
Comment 2 2021-11-05 16:58:08 PDT
Comment on attachment 443448 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443448&action=review > Source/WebKit/ChangeLog:8 > + The IPC decoder for ResourceRequest decoders systemPreviewInfo and sets it on the ResourceRequest. Nit - s/decoders/decodes/ > Source/WebKit/ChangeLog:11 > + which creates a brand-new ResourceRequest, and thus looses the systemPreviewInfo we've just set. Nit - s/looses/loses/
Chris Dumez
Comment 3 2021-11-05 17:11:51 PDT
EWS
Comment 4 2021-11-05 20:03:04 PDT
Committed r285361 (243919@main): <https://commits.webkit.org/243919@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443459 [details].
Radar WebKit Bug Importer
Comment 5 2021-11-05 20:04:18 PDT
Note You need to log in before you can comment on or make changes to this bug.