This repository was archived by the owner on Aug 13, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,9 @@ var FrameBubble = React.createFactory(React.createClass({
158158 if ( ! preview && frame . socketIo ) {
159159 preview = TreeView ( {
160160 key : "preview-socketio" ,
161- data : { "Socket IO" : frame . socketIo } ,
161+ // We only show the data that is deemed interesting for the user in the
162+ // inline previews, not the socketIO metadata
163+ data : { "Socket IO" : frame . socketIo . data } ,
162164 mode : "tiny"
163165 } ) ;
164166 }
Original file line number Diff line number Diff line change @@ -169,7 +169,9 @@ var FrameRow = React.createFactory(React.createClass({
169169 if ( frame . socketIo ) {
170170 payload = TreeView ( {
171171 key : "preview-socketio" ,
172- data : { "Socket IO" : frame . socketIo } ,
172+ // We only show the data that is deemed interesting for the user in the
173+ // inline previews, not the socketIO metadata
174+ data : { "Socket IO" : frame . socketIo . data } ,
173175 } ) ;
174176 } else if ( frame . sockJs ) {
175177 payload = TreeView ( {
Original file line number Diff line number Diff line change 1414 "license" : " BSD-3-Clause" ,
1515 "icon" : " chrome://websocketmonitor/skin/icon-32-color.png" ,
1616 "homepage" : " https://github.com/firebug/websocket-monitor/wiki" ,
17- "version" : " 0.5.1 " ,
17+ "version" : " 0.5.2 " ,
1818 "main" : " lib/index" ,
1919 "repository" : {
2020 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments