Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Issue 2257963002: DevTools: Better view of web sockets binary frames' data

Created:
4 years, 4 months ago by talkain
Modified:
3 years, 5 months ago
Reviewers:
chowse, allada
CC:
paulirish, chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Better view of web sockets binary frames' data Debugging web sockets that send and receive binary frames is hard, mostly because the information that was presented about binary frames is "Binary Frame (Opcode 2, mask)", regardless of the frame's content. This patch exports the frame's data in a python-like way, printing the printable characters and presenting all other bytes using the "\xXX" format. BUG= Signed-off-by: Tal Kain <tal@kain.net>;

Patch Set 1 #

Total comments: 4

Patch Set 2 : DevTools: Better view of web sockets binary frames' data #

Total comments: 10

Patch Set 3 : DevTools: Better view of web sockets binary frames' data #

Total comments: 6

Patch Set 4 : DevTools: Better view of web sockets binary frames' data #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js View 1 2 3 1 chunk +18 lines, -1 line 6 comments Download

Messages

Total messages: 23 (5 generated)
talkain
4 years, 4 months ago (2016-08-18 21:40:35 UTC) #3
dgozman
Blaise, could you please take a look? https://codereview.chromium.org/2257963002/diff/1/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js File third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js (right): https://codereview.chromium.org/2257963002/diff/1/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js#newcode216 third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js:216: for (var ...
4 years, 4 months ago (2016-08-21 23:11:25 UTC) #5
allada
I see this is your first patch... Please do not get discouraged by our code ...
4 years, 4 months ago (2016-08-22 16:50:32 UTC) #6
talkain
On 2016/08/22 16:50:32, Blaise wrote: > I see this is your first patch... Please do ...
4 years, 4 months ago (2016-08-22 23:11:12 UTC) #7
allada
On 2016/08/22 23:11:12, talkain wrote: > On 2016/08/22 16:50:32, Blaise wrote: > > I see ...
4 years, 4 months ago (2016-08-23 00:03:12 UTC) #8
talkain
Hi Blaise and dgozman, As you requested, I changed the patch according to your review. ...
4 years, 3 months ago (2016-08-29 11:46:14 UTC) #9
allada
Thanks! https://codereview.chromium.org/2257963002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js File third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js (right): https://codereview.chromium.org/2257963002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js#newcode214 third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js:214: if (frame.opCode === WebInspector.ResourceWebSocketFrameView.OpCodes.BinaryFrame) { nit: Our code ...
4 years, 3 months ago (2016-08-29 17:38:02 UTC) #10
talkain
https://codereview.chromium.org/2257963002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js File third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js (right): https://codereview.chromium.org/2257963002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js#newcode214 third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js:214: if (frame.opCode === WebInspector.ResourceWebSocketFrameView.OpCodes.BinaryFrame) { On 2016/08/29 17:38:02, Blaise ...
4 years, 3 months ago (2016-08-30 12:20:49 UTC) #11
allada
Overall looks good! https://codereview.chromium.org/2257963002/diff/40001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js File third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js (right): https://codereview.chromium.org/2257963002/diff/40001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js#newcode224 third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js:224: * Handles binary frames by escaping ...
4 years, 3 months ago (2016-08-30 16:40:30 UTC) #12
talkain
https://codereview.chromium.org/2257963002/diff/40001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js File third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js (right): https://codereview.chromium.org/2257963002/diff/40001/third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js#newcode224 third_party/WebKit/Source/devtools/front_end/network/ResourceWebSocketFrameView.js:224: * Handles binary frames by escaping the non printable ...
4 years, 2 months ago (2016-10-19 10:25:26 UTC) #13
allada
Looking good! Can we add a screenshot link (we usually just use imgur) to see ...
4 years, 2 months ago (2016-10-20 00:06:48 UTC) #15
talkain
Thank you. Sure,here are two samples of the change: http://i.imgur.com/fDb73kT.png http://i.imgur.com/YTujo48.png One is a binary ...
4 years, 2 months ago (2016-10-20 08:43:09 UTC) #16
chowse
Thanks for the screenshots. Tal/Blaise: Could you provide a screenshot of how the WebSocket appeared ...
4 years, 2 months ago (2016-10-20 18:56:22 UTC) #17
talkain
Hi Chowse, Here is a screenshot of the inspector before the change: http://i.imgur.com/oDr2bgR.png The colors ...
4 years, 2 months ago (2016-10-21 07:03:43 UTC) #18
chowse
Got it. Using hex codes for binary data seems fine to me. On 2016/10/21 07:03:43, ...
4 years, 1 month ago (2016-10-27 21:07:46 UTC) #19
talkain
Great! Can we please merge it? :) On 2016/10/27 21:07:46, chowse wrote: > Got it. ...
4 years, 1 month ago (2016-10-29 09:14:54 UTC) #20
allada
We need my comments in the last patch to be addressed before we can move ...
4 years, 1 month ago (2016-10-31 17:32:41 UTC) #21
dgozman
4 years, 1 month ago (2016-11-16 05:54:04 UTC) #22
On 2016/10/31 17:32:41, Blaise wrote:
> We need my comments in the last patch to be addressed before we can move
> forward.
> On 2016/10/29 09:14:54, talkain wrote:
> > Great! Can we please merge it? :)

What's the status of this patch?

Powered by Google App Engine
This is Rietveld 408576698