File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ templates._pre = function(content)
4343templates . details = function ( entry )
4444{
4545 var settings = window . settings [ "network-detail-overlay" ] ;
46- var do_raw = settings . get ( "view-raw " ) ;
46+ var do_raw = ! settings . get ( "view-parsed " ) ;
4747 var do_wrap = settings . get ( "wrap-detail-view" ) ;
4848 return (
4949 [ "div" ,
Original file line number Diff line number Diff line change @@ -902,14 +902,14 @@ cls.NetworkDetailOverlayView.create_ui_widgets = function()
902902 "network-detail-overlay" ,
903903 // key-value map
904904 {
905- "view-raw " : false ,
905+ "view-parsed " : true ,
906906 "wrap-detail-view" : true ,
907907 "expand-requests" : true ,
908908 "expand-responses" : true
909909 } ,
910910 // key-label map
911911 {
912- "view-raw " : ui_strings . S_NETWORK_RAW_VIEW_LABEL ,
912+ "view-parsed " : ui_strings . S_NETWORK_RAW_VIEW_LABEL ,
913913 "wrap-detail-view" : ui_strings . S_NETWORK_WRAP_LINES_LABEL
914914 }
915915 ) ;
@@ -921,8 +921,8 @@ cls.NetworkDetailOverlayView.create_ui_widgets = function()
921921 type : UI . TYPE_SWITCH ,
922922 items : [
923923 {
924- key : "network-detail-overlay.view-raw " ,
925- icon : "view-raw "
924+ key : "network-detail-overlay.view-parsed " ,
925+ icon : "view-parsed "
926926 }
927927 ]
928928 } ,
Original file line number Diff line number Diff line change @@ -1263,8 +1263,8 @@ ui_strings.S_NETWORK_NOT_REQUESTED = "No request made.";
12631263/* DESC: String used when there is a request body we can't show the contents of directly. */
12641264ui_strings . S_NETWORK_N_BYTE_BODY = "Request body of %s bytes" ;
12651265
1266- /* DESC: Name of networks raw-view setting, shows requests and responses raw instead of parsed */
1267- ui_strings . S_NETWORK_RAW_VIEW_LABEL = "Show raw requests and responses" ;
1266+ /* DESC: Name of networks raw-view setting, shows requests and responses parsed as opposed to raw */
1267+ ui_strings . S_NETWORK_RAW_VIEW_LABEL = "Show parsed requests and responses" ;
12681268
12691269/* DESC: Name of entry in Network Log, used in summary at the end */
12701270ui_strings . S_NETWORK_REQUEST = "Request" ;
You can’t perform that action at this time.
0 commit comments