Support "json" or "data" as one of the network request filters
Categories
(DevTools :: Netmonitor, enhancement)
Tracking
(Not tracked)
People
(Reporter: glind, Unassigned)
References
(Blocks 2 open bugs)
Details
Updated•7 years ago
|
Updated•6 years ago
|
Updated•3 years ago
|
Comment 1•2 years ago
|
||
JSON currently shows up under the XHR filter, would the idea be to rename that or split this out to another one?
Comment 2•2 years ago
|
||
We definitely want to keep the XHR filter (maybe rename it, see Bug 1706797)
Not sure about adding a JSON
filter
They're not necessarily tied to XHR (you can see it just navigating to a URL that returns JSON (e.g. https://api.github.com/)
There's also this proposal to be able to import json file: https://github.com/tc39/proposal-json-modules
we'll talk about it with the rest of the team
Comment 3•2 years ago
|
||
Note that you can filter the list of requests by using the filter box.
Use: mime-type:application/json
See more in DevTools User docs:
https://firefox-source-docs.mozilla.org/devtools-user/network_monitor/request_list/#filtering-by-properties
Comment 4•2 years ago
|
||
Thanks for the interest, given the existing filtering feature, we can probably avoid this new filter.
Instead we should make the filtering syntax easier to learn about.
One idea is to improve the placeholder text of the filter to show example syntax.
Another idea would be to apply the filter from a button as filter syntax for the input (eg click on Image and the input gets filled with the appropriate text)
Updated•2 years ago
|
Description
•