Some tables (such as DOMStorageView) should have a default sort column rather than displaying rows in a possibly undefined order. However, the code to update the actual sort column and direction is stuck within a click event handler.
<rdar://problem/16066438>
Created attachment 226446 [details] the patch
Comment on attachment 226446 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=226446&action=review > Source/WebInspectorUI/UserInterface/Views/ApplicationCacheFrameContentView.js:204 > + switch (this._dataGrid.sortColumnIdentifier || "url") { > + case "url": comparator = localeCompare.bind(this, "url"); break; Just use default:? > Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js:82 > + var columns = { name: {}, value: {}, domain: {}, path: {}, expires: {}, size: {}, http: {}, secure: {}}; No space after {. > Source/WebInspectorUI/UserInterface/Views/CookieStorageContentView.js:141 > + }; > + if (cookie.type !== WebInspector.CookieType.Request) Add a newline.
Committed r165487: <http://trac.webkit.org/changeset/165487>