News for hackers. Stuff that matters.
Re:Fearless Concurrency in Firefox Quantum by timsayshey on Wednesday November 15, 2017 @10:02AM (#15704205)
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.
Re:Fearless Concurrency in Firefox Quantum by vatotemking on Wednesday November 15, 2017 @10:39AM (#15704452)
Perhaps 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.

Re:Fearless Concurrency in Firefox Quantum by timsayshey on Wednesday November 15, 2017 @10:52AM (#15704569)
>> 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.

Re:Fearless Concurrency in Firefox Quantum by nachtigall on Wednesday November 15, 2017 @02:29PM (#15706975)
Looks like this has been fixed now: 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.

Re:Fearless Concurrency in Firefox Quantum by timsayshey on Wednesday November 15, 2017 @04:19PM (#15707918)
Switched to nightly and there it is. Thank you!
Re:Fearless Concurrency in Firefox Quantum by vatotemking on Wednesday November 15, 2017 @11:03AM (#15704691)
Oh sorry I misread your comment. Youre right there is no HTML preview indeed
Re:Fearless Concurrency in Firefox Quantum by Manishearth on Wednesday November 15, 2017 @01:51PM (#15706599)
For XHR there's also an "edit and resend" button as well as "copy as cURL" which is amazing
Re:Fearless Concurrency in Firefox Quantum by vatotemking on Wednesday November 15, 2017 @07:16PM (#15709256)
copy as curl is so underrated