Closed Bug 1428022 Opened 6 years ago Closed 6 years ago

Web Developer console doesn't shows POST fields

Categories

(DevTools :: Netmonitor, enhancement, P4)

57 Branch
x86
Windows 7
enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: csibra, Unassigned)

Details

(Whiteboard: [specification][type:bug])

Attachments

(2 files)

What did you do?
================
1. Sent an AJAX POST message
2. Wanted to watch sent data (POST fields)
3. Doesn't see

What happened?
==============
As in "What did you do?" field.

What should have happened?
==========================
It should have seen as in Network tab sees.

Is there anything else we should know?
======================================
Is your website public? The URL of the page with this issue would help.
Component: General → Developer Tools: Netmonitor
Flags: needinfo?(csibra)
OS: Other → Windows 7
Product: Mozilla Developer Network → Firefox
Hardware: All → x86
It's independent of website. Works (not) the same on every website. I can't attach image here, but you can see on this pictures:

Same AJAX POST message on two tabs:

http://download.csibra.hu/console-empty.png

Post fields doesn't shows on Console tab.

http://download.csibra.hu/network-populated.png

But it shows on Network tab.
Flags: needinfo?(csibra)
Thank you for the screenshots. You can attach files on bugzilla.org using the "Attach File" link.

What version of Firefox are you using?

With Firefox 58 (Developer Edition), when visiting https://www.google.com while logged into Google and in normal browsing mode, I can get a POST XHR request. It appears to not happen in private browsing mode, or if I am not logged into Google. I can see the content of the request in the console.

In Firefox 57, under similar conditions, the Query String appears, but not the Form Data.

I'll attach the screenshots.
Flags: needinfo?(csibra)
Attached image ff57_post_xhr.png
Firefox 57, POST XHR request on www.google.con to play.google.com. The Query string is displayed, but not any Form Data
Attached image ff58_post_xhr.png
Firefox 58, POST XHR on www.google.com to play.google.com, showing the Query string and the Form data
I use 57.0.4. It updated itself today. I'll wait for 58 go to public. Thanks.
Flags: needinfo?(csibra)
Version: unspecified → 57 Branch
@csibra: I can't reproduce the problem.

Here is what I am doing (running Firefox 61, Win10):

1) Open the DevTools Toolbox (F12) and select the Network panel
2) Load http://janodvarko.cz/firebug/tests/601/Issue601.htm
3) Press the POST button on the page
4) Select the new request in the panel and go to the 'Params' side panel.
I can see the POSTed data (in my case: `date: Fri, 04 May 2018 11:31:53 GMT`)
5) Select the Console panel, expand the request there and select the 'Params' tab.
I can see the same POSTed data.

Does this works for you.

Can you test on Firefox 61?
Download:
https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly

Honza
Flags: needinfo?(csibra)
Priority: -- → P4
This issue has been resolved with version 58.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(csibra)
Resolution: --- → WORKSFORME
Thanks for the update!
Honza
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: