5 ms·
Their devtools have come a long way. And are almost caught up with Chrome. I've only noticed the following things missing: When an XHR response comes back as HT
by timsayshey 9y ago
Their devtools have come a long way. And are almost caught up with Chrome. I've only noticed the following things missing: When an XHR response comes back as HTML, there is no "Preview" tab like in Chrome. Also, the responsive testing tool doesn't have the device frames (ie, iPhone, iPad, etc) and it also doesn't have the little touch circle cursor that let's you drag and swipe while testing.
- vatotemking 9y agoPerhaps you're on an older version of FF, no? Because the things you mentioned are present, just not an exact UI/UX as that with Chrome. Im on FF Quantum 57.0 (non dev, vanilla FF) and here are my observations: > When an XHR response comes back as HTML, there is no "Preview" tab like in Chrome. This is consolidated in the Response tab. You can view it as raw response, or JSON (with filtering options). > Also, the responsive testing tool doesn't have the device frames (ie, iPhone, iPad, etc) It does now! You can select and edit a list of device. > and it also doesn't have the little touch circle cursor that let's you drag and swipe while testing. They do have a touch simulation mode (pointing hand icon), but it doesnt appear to work at the moment. I cant drag the screen.
- timsayshey 9y ago>> When an XHR response comes back as HTML, there is no "Preview" tab like in Chrome. > This is consolidated in the Response tab. You can view it as raw response, or JSON (with filtering options). Yeah, I can see the raw HTML or JSON response. But Chrome actually allows you to see the rendered HTML response in the "Preview" tab. Are you saying there is a way to see the rendered HTML from the XHR response? I'm not seeing it. To see the rendered HTML, I have to copy it, create an html file, paste the HTML, then open it in a browser. That's a lot of extra steps when debugging something.
- vatotemking 9y agoOh sorry I misread your comment. Youre right there is no HTML preview indeed
- nachtigall 9y agoLooks like this has been fixed now: https://bugzilla.mozilla.org/show_bug.cgi?id=1353319 https://bugzilla.mozilla.org/show_bug.cgi?id=1353319 If you grab Nightly (I've been using it for a year now for frontend development and my normal browsing and it's just fine) you can test it.
- timsayshey 9y agoSwitched to nightly and there it is. Thank you!
- Manishearth 9y agoFor XHR there's also an "edit and resend" button as well as "copy as cURL" which is amazing
- vatotemking 9y agocopy as curl is so underrated