Skip to content
This repository was archived by the owner on Aug 13, 2018. It is now read-only.

Commit 688941b

Browse files
committed
Fix WS icon in the Network panel
1 parent 6d8775d commit 688941b

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

chrome/content/network-content-script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ window.on(EVENTS.RESPONSE_BODY_DISPLAYED, (event) => {
7777
// xxxHonza: localization
7878
wsBox.innerHTML =
7979
'<div xmlns="http://www.w3.org/1999/xhtml" class="webSocketsInfo">' +
80-
'<div class="title">WebSockets Upgrade Request</div>' +
80+
'<div class="title">Web Socket Protocol Handshake (101)</div>' +
8181
'<div class="desc">No content for this request. If you want to ' +
8282
'monitor WebSockets communication you need to switch to the ' +
8383
'<a class="link">Web Sockets</a> panel.</div>' +

chrome/skin/classic/filters.svg

Lines changed: 25 additions & 0 deletions
Loading

chrome/skin/classic/netmonitor.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
transition: none;
1414
border-radius: 0;
1515
margin: 2px;
16-
filter: url(chrome://devtools/skin/themes/images/filters.svg#invert);
16+
17+
/* Path to built-in theme resource has changed in Firefox 45
18+
Befor: 45: chrome://devtools/skin/themes/images/filters.svg#invert
19+
45+: chrome://devtools/skin//images/filters.svg#invert
20+
The local copy can be remove as soon as the min Fx version is 45*/
21+
filter: url(./filters.svg#invert);
1722
}
1823

1924
.theme-firebug box.requests-menu-status.websocket {

0 commit comments

Comments
 (0)