When encode the session history to data blob, we serialize all the history entries in back/forward list. We should consider to limit the size of this data blob.
<rdar://problem/25064718>
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.