WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 20628
39711
provide parsed view of get params
https://bugs.webkit.org/show_bug.cgi?id=39711
Summary
provide parsed view of get params
mbrevda
Reported
2010-05-25 23:13:41 PDT
Firebug parses the sent parms, as well as any responce (think: json) so that they can be viewed in a clean key:value table. This is in addition to the raw request url and response, making finding the value your looking for simpler. Would be nice to have this as well!
Attachments
firebug demo
(81.41 KB, image/png)
2010-05-25 23:20 PDT
,
mbrevda
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
mbrevda
Comment 1
2010-05-25 23:20:29 PDT
Created
attachment 57074
[details]
firebug demo
mbrevda
Comment 2
2010-05-25 23:26:56 PDT
http://code.google.com/p/chromium/issues/detail?id=45070
Patrick Mueller
Comment 3
2010-05-26 11:19:36 PDT
This was previously implemented via
Bug 22920
; perhaps there's at least some code to reuse there, if it's been removed since.
Patrick Mueller
Comment 4
2010-05-27 08:00:17 PDT
I tried the test case WebKit/WebCore/manual-tests/inspector/display-form-data.html which is the test case for
Bug 22920
, on nightly
r60266
. All tests appear to pass. Trying that test on Chrome/Mac 6.0.408.1 dev shows multiple problems: - test-2 does not show any query string parameters when it should - the tests get an uncaught error during an XHR request, which causes later tests to fail The tests currently do sync- and async- XHR testing, since I figured the control paths under the covers would be a little different, and I wanted to make sure we covered those cases. Perhaps we need to put some kind of guard around the sync- versions. Or perhaps the fact that tests all send requests to
http://example.org
is part of the problem, which end up generating 404 status codes. Not quite ready to mark this as WORKSFORME, and just say this is a Chrome problem, and not a WebKit problem. Doing a little more investigation ...
Patrick Mueller
Comment 5
2010-05-27 08:18:43 PDT
- commenting out the sync- calls gets you a bit further than calling them. - running the file against a real server gets you a bit further than running against a file:// url. Still, the best I can do, I don't see all of the data the tests expect. It appears the query string params are the biggest problem. I think perhaps we need to refresh the query string params in different/additional places to get Chrome to display them. I think we need to change this test to run against a real server, and should see if we can run the sync- tests in timer events, to eliminate the general Xhr issues when running in Chrome.
Pavel Feldman
Comment 6
2010-05-27 10:43:39 PDT
Patrick, what you are describing is just a regression, it affects both WebKit and Chromium. I fixed it under:
https://bugs.webkit.org/show_bug.cgi?id=39848
. As a result, we show GET query parameters + Post payload + form data. We do not response as JSON as this bug requests, so I am leaving it opened.
Patrick Mueller
Comment 7
2010-05-27 11:57:11 PDT
(In reply to
comment #6
)
> We do not response as JSON as this bug requests, so I am leaving it opened.
Let's close it as a DUP of
Bug 37488
instead, if all that's left is JSON display of the response (and presumably the request)
Patrick R. Gansterer
Comment 8
2011-02-03 09:36:47 PST
*** This bug has been marked as a duplicate of
bug 20628
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug