Return types for some members are confusing (Object).
Created attachment 193244 [details] Patch
Comment on attachment 193244 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193244&action=review > Source/WebCore/inspector/front-end/NetworkRequest.js:79 > +/** @typedef {!NetworkAgent.WebSocketFrame|{errorMessage: string, time: number}} */ This is not a valid type, we don't use | other than for undefined.
Created attachment 193268 [details] Patch
Comment on attachment 193244 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193244&action=review >> Source/WebCore/inspector/front-end/NetworkRequest.js:79 >> +/** @typedef {!NetworkAgent.WebSocketFrame|{errorMessage: string, time: number}} */ > > This is not a valid type, we don't use | other than for undefined. Fixed. Thanks.
Comment on attachment 193268 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193268&action=review > Source/WebCore/inspector/front-end/NetworkRequest.js:615 > + this._sortedResponseHeaders.sort(function(a, b) { return a.name.toLowerCase().compareTo(b.name.toLowerCase()) }); Nit: Since you're cleaning up style here anyway, please add a ';' after the return statement in the function body.
Created attachment 193278 [details] Patch
Comment on attachment 193268 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193268&action=review >> Source/WebCore/inspector/front-end/NetworkRequest.js:615 >> + this._sortedResponseHeaders.sort(function(a, b) { return a.name.toLowerCase().compareTo(b.name.toLowerCase()) }); > > Nit: Since you're cleaning up style here anyway, please add a ';' after the return statement in the function body. Done.
Comment on attachment 193278 [details] Patch Clearing flags on attachment: 193278 Committed r145926: <http://trac.webkit.org/changeset/145926>
All reviewed patches have been landed. Closing bug.