Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'task_DFL_2973_Make_Request' into task_DFL_2973_Make_Req…

…uest2
  • Loading branch information...
commit 2dd173a53999714f8c1eac978f9f5f11ead2e536 2 parents c0fb29b + 5cde719
Daniel Herzog authored
View
2  src/network/network_details_templates.js
@@ -43,7 +43,7 @@ templates._pre = function(content)
templates.details = function(entry)
{
var settings = window.settings["network-detail-overlay"];
- var do_raw = settings.get("view-raw");
+ var do_raw = !settings.get("view-parsed");
var do_wrap = settings.get("wrap-detail-view");
return (
["div",
View
2  src/network/network_style.css
@@ -239,10 +239,8 @@
.network-detail-overlay > .table
{
- height: 100%;
padding: 0 5px;
box-sizing: border-box;
- overflow: auto;
}
.network-detail-overlay .table
View
8 src/network/network_view.js
@@ -927,14 +927,14 @@ cls.NetworkDetailOverlayView.create_ui_widgets = function()
"network-detail-overlay",
// key-value map
{
- "view-raw": false,
+ "view-parsed": true,
"wrap-detail-view": true,
"expand-requests": true,
"expand-responses": true
},
// key-label map
{
- "view-raw": ui_strings.S_NETWORK_RAW_VIEW_LABEL,
+ "view-parsed": ui_strings.S_NETWORK_RAW_VIEW_LABEL,
"wrap-detail-view": ui_strings.S_NETWORK_WRAP_LINES_LABEL
}
);
@@ -946,8 +946,8 @@ cls.NetworkDetailOverlayView.create_ui_widgets = function()
type: UI.TYPE_SWITCH,
items: [
{
- key: "network-detail-overlay.view-raw",
- icon: "view-raw"
+ key: "network-detail-overlay.view-parsed",
+ icon: "view-parsed"
}
]
},
View
4 src/ui-strings/ui_strings-en.js
@@ -1263,8 +1263,8 @@ ui_strings.S_NETWORK_NOT_REQUESTED = "No request made.";
/* DESC: String used when there is a request body we can't show the contents of directly. */
ui_strings.S_NETWORK_N_BYTE_BODY = "Request body of %s bytes";
-/* DESC: Name of networks raw-view setting, shows requests and responses raw instead of parsed */
-ui_strings.S_NETWORK_RAW_VIEW_LABEL = "Show raw requests and responses";
+/* DESC: Name of networks raw-view setting, shows requests and responses parsed as opposed to raw */
+ui_strings.S_NETWORK_PARSED_VIEW_LABEL = "Show in parsed mode";
/* DESC: Name of entry in Network Log, used in summary at the end */
ui_strings.S_NETWORK_REQUEST = "Request";
Please sign in to comment.
Something went wrong with that request. Please try again.