-
eustas@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=113375 Reviewed by Pavel Feldman. Serialized "previouslyViewedFiles" may make local storage overflow. Two fixed applied: - limit number of history log items - limit length of URIs that get serialized; this would affect only data-url URIs. * inspector/front-end/TabbedEditorContainer.js: (WebInspector.TabbedEditorContainer.HistoryItem.prototype.serializeToObject): Added length check. (WebInspector.TabbedEditorContainer.History.prototype.set _serializeToObject): Added output array length limit. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a86fc7bb