[Webkit-unassigned] [Bug 147022] Cached XHR requests are not shown in the web inspector
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 16 15:26:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=147022
--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org> ---
The Web Inspector frontend is only told about one requestWillBeSent from the backend (followed up by its responseReceived/dataReceived/loadingFinished updates):
backend: {
"method": "Network.requestWillBeSent",
"params": {
"requestId": "0.15",
"frameId": "0.1",
"loaderId": "0.5",
"documentURL": "file:///Volumes/Data/Users/pecoraro/Desktop/cache-bug.html",
"request": {
"url": "http://api.randomuser.me/",
"method": "GET",
"headers": {
"Accept": "application/json, text/javascript, */*; q=0.01",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/602.1.1 (KHTML, like Gecko) Version/9.0 Safari/601.1.41",
"Cache-Control": "max-age=0"
}
},
"timestamp": 0.045744980983727146,
"initiator": { ... }
"type": "XHR"
}
}
So from the appearance of the frontend only 1 request was sent. That may in fact be what the engine is doing. The frontend should at least show that >1 XHR was initiated for the same URL, even if only 1 request was actually sent and they are sharing it. It would likely share a lot of timing information.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150716/92f6c2bc/attachment-0001.html>
More information about the webkit-unassigned
mailing list