Bug 166639 - Discard media controls JS/CSS caches under memory pressure.
Summary: Discard media controls JS/CSS caches under memory pressure.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords: Performance
Depends on:
Blocks:
 
Reported: 2017-01-02 06:11 PST by Andreas Kling
Modified: 2017-01-02 08:06 PST (History)
10 users (show)

See Also:


Attachments
Patch (5.47 KB, patch)
2017-01-02 06:12 PST, Andreas Kling
koivisto: review+
Details | Formatted Diff | Diff
Patch4landing (6.07 KB, patch)
2017-01-02 06:30 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2017-01-02 06:11:59 PST
The cached JS and CSS for media controls that hangs off of RenderTheme on macOS and iOS is pretty chunky.
If nothing is using it and we come under memory pressure, let's drop it.
Comment 1 Andreas Kling 2017-01-02 06:12:37 PST
Created attachment 297893 [details]
Patch
Comment 2 Andreas Kling 2017-01-02 06:30:43 PST
Created attachment 297895 [details]
Patch4landing
Comment 3 WebKit Commit Bot 2017-01-02 07:37:35 PST
Comment on attachment 297895 [details]
Patch4landing

Clearing flags on attachment: 297895

Committed r210224: <http://trac.webkit.org/changeset/210224>
Comment 4 WebKit Commit Bot 2017-01-02 07:37:42 PST
All reviewed patches have been landed.  Closing bug.