* 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}`, });
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.
Created attachment 352017 [details] Patch Rebase
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.
(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>
Comment on attachment 352017 [details] Patch Clearing flags on attachment: 352017 Committed r237061: <https://trac.webkit.org/changeset/237061>
All reviewed patches have been landed. Closing bug.
<rdar://problem/45214836>