Bug 190443

Summary: Web Inspector: Network: detail view reverts to "Response" when new requests are added
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch none

Devin Rousso
Reported 2018-10-10 14:30:36 PDT
* STEPS TO REPRODUCE: 1. Open WebInspector on any page 2. Go to the Network tab 3. Select a resource that has a request payload (e.g. JSON sent with the request) 4. Show the "Request" content under "Preview" 5. Fire another request on the page => "Response" content is suddenly shown Example request: fetch("data.json?" + Math.random(), { method: "POST", // headers: {"Content-Type": "application/json"}, body: `{"a":1,"b":2,"c":3,"d":4,"e":5,"f":6}`, });
Attachments
Patch (1.55 KB, patch)
2018-10-10 14:38 PDT, Devin Rousso
no flags
Patch (1.66 KB, patch)
2018-10-10 22:31 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2018-10-10 14:38:11 PDT
Created attachment 351986 [details] Patch This patch relies on changes from <https://webkit.org/b/189773>. I will upload a different version if that bug takes a while to land.
Devin Rousso
Comment 2 2018-10-10 22:31:24 PDT
Created attachment 352017 [details] Patch Rebase
Joseph Pecoraro
Comment 3 2018-10-11 15:14:45 PDT
Comment on attachment 352017 [details] Patch Interesting! Does this fix when switching between resources? Currently when switching between resources it keeps popping back to "Response" instead of keeping it "Requests". That is probably separate though.
Devin Rousso
Comment 4 2018-10-11 19:02:53 PDT
(In reply to Joseph Pecoraro from comment #3) > Interesting! Does this fix when switching between resources? Currently when > switching between resources it keeps popping back to "Response" instead of > keeping it "Requests". That is probably separate though. Nope :( Filed another bug: <https://webkit.org/b/190505>
WebKit Commit Bot
Comment 5 2018-10-11 19:30:25 PDT
Comment on attachment 352017 [details] Patch Clearing flags on attachment: 352017 Committed r237061: <https://trac.webkit.org/changeset/237061>
WebKit Commit Bot
Comment 6 2018-10-11 19:30:27 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2018-10-11 19:31:37 PDT
Note You need to log in before you can comment on or make changes to this bug.