Bug 224001 - ServiceWorkerContextData should not be saved both on ServiceWorkerThread & ServiceWorkerGlobalScope
Summary: ServiceWorkerContextData should not be saved both on ServiceWorkerThread & Se...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-31 09:09 PDT by Chris Dumez
Modified: 2021-03-31 12:06 PDT (History)
9 users (show)

See Also:


Attachments
Patch (22.38 KB, patch)
2021-03-31 09:13 PDT, Chris Dumez
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-03-31 09:09:13 PDT
ServiceWorkerContextData should not be saved both on ServiceWorkerThread & ServiceWorkerGlobalScope. ServiceWorkerContextData contains script sources and may use a large amount of memory.
Comment 1 Chris Dumez 2021-03-31 09:13:27 PDT
Created attachment 424775 [details]
Patch
Comment 2 Geoffrey Garen 2021-03-31 09:34:39 PDT
Comment on attachment 424775 [details]
Patch

r=me
Comment 3 EWS 2021-03-31 10:15:48 PDT
Committed r275288: <https://commits.webkit.org/r275288>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 424775 [details].
Comment 4 Radar WebKit Bug Importer 2021-03-31 10:16:15 PDT
<rdar://problem/76058632>