Bug 1151368 - Display blocked requests in Network Monitor. r=ochameau,Honza
authorJ. Ryan Stinnett <jryans@gmail.com>
Fri, 19 Apr 2019 18:25:29 +0000
changeset 11407 c31abf9e3a99a5fa91dc9c1d7823e2e9e76eada8
parent 11406 6fd71b7b9daf6d1fccaf02912216689e2c1a085e
child 11408 6a2b1d3b653ade7d390800a7e33143da37b863a5
push id133
push userflodolo@mozilla.com
push dateWed, 24 Apr 2019 06:47:52 +0000
reviewersochameau, Honza
bugs1151368
Bug 1151368 - Display blocked requests in Network Monitor. r=ochameau,Honza This updates the request list to indicate a request was blocked by marking the entire request item and also replaces transferred size column with "blocked by DevTools". In the future, we may show other reasons for blocking in this way, such as CORS, etc. Differential Revision: https://phabricator.services.mozilla.com/D26580 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 6b031fd49d1e292c4033e6f86f909a689a78b176 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 53da81e19127fb55bcbc00c86bd910751c5b56cd X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 15f10287a218572a7fd47acabb40208645b4462d
devtools/client/netmonitor.properties
--- a/devtools/client/netmonitor.properties
+++ b/devtools/client/netmonitor.properties
@@ -225,16 +225,21 @@ networkMenu.sizeUnavailable.title=Transf
 # cached.
 networkMenu.sizeCached=cached
 
 # LOCALIZATION NOTE (networkMenu.sizeServiceWorker): This is the label displayed
 # in the network menu specifying the transferred of a request computed
 # by a service worker.
 networkMenu.sizeServiceWorker=service worker
 
+# LOCALIZATION NOTE (networkMenu.sizeServiceWorker): This is the label displayed
+# in the network menu specifying the request was blocked by something.
+# %S is replaced by the blocked reason, which could be "DevTools", "CORS", etc.
+networkMenu.blockedBy=blocked by %S
+
 # LOCALIZATION NOTE (networkMenu.totalMS2): This is the label displayed
 # in the network menu specifying the time for a request to finish (in milliseconds).
 networkMenu.totalMS2=%S ms
 
 # This string is used to concatenate tooltips (netmonitor.waterfall.tooltip.*)
 # in the requests waterfall for total time (in milliseconds). \\u0020 represents
 # a whitespace. You can replace this with a different character, e.g. an hyphen
 # or a period, if a comma doesn't work for your language.