Summary: | Consider to cap the size of session history data. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yongjun Zhang <yongjun_zhang> | ||||||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | andersca, commit-queue, kling, mitz, sam | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | Other | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Yongjun Zhang
2016-03-18 14:41:13 PDT
Created attachment 274479 [details]
Cap the session history data size to 2MB in iOS.
Created attachment 274480 [details]
Cap the session history data size to 2MB in iOS.
Comment on attachment 274480 [details] Cap the session history data size to 2MB in iOS. View in context: https://bugs.webkit.org/attachment.cgi?id=274480&action=review > Source/WebKit2/UIProcess/mac/LegacySessionStateCoding.cpp:66 > +static const uint32_t maximumSessionStateDataSize = UINT_MAX; I would prefer std::numeric_limits<uint32_t>::max() to UINT_MAX when used here. Created attachment 274509 [details]
Address review comment before landing.
Comment on attachment 274509 [details] Address review comment before landing. Clearing flags on attachment: 274509 Committed r198468: <http://trac.webkit.org/changeset/198468> All reviewed patches have been landed. Closing bug. |