Bug 236736

Summary: Mark SharedBuffer used by CachedResource::m_data const
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: New BugsAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 236695    
Bug Blocks:    
Attachments:
Description Flags
Patch for EWS
none
Patch
ews-feeder: commit-queue-
Patch
none
Patch ews-feeder: commit-queue-

Description Jean-Yves Avenard [:jya] 2022-02-16 14:54:21 PST
In bug https://bugs.webkit.org/show_bug.cgi?id=236695 we had to add a few const_cast which isn't particularly elegant.
The CachedResource::m_data should be made a const FragmentedSharedBuffer
Comment 1 Radar WebKit Bug Importer 2022-02-16 14:54:53 PST
<rdar://problem/89050403>
Comment 2 Jean-Yves Avenard [:jya] 2022-02-17 03:29:36 PST
Created attachment 452345 [details]
Patch for EWS
Comment 3 Jean-Yves Avenard [:jya] 2022-02-18 00:56:31 PST
Created attachment 452494 [details]
Patch
Comment 4 Jean-Yves Avenard [:jya] 2022-02-18 05:04:18 PST
Created attachment 452510 [details]
Patch
Comment 5 Jean-Yves Avenard [:jya] 2022-02-19 23:18:14 PST
Created attachment 452680 [details]
Patch