WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 158404
Web Inspector: resources don't show in resources/debugger sidebar after navigating inspected page back
https://bugs.webkit.org/show_bug.cgi?id=158404
Summary
Web Inspector: resources don't show in resources/debugger sidebar after navig...
Blaze Burg
Reported
2016-06-05 15:17:24 PDT
STEPS TO REPRODUCE: 1. Go to attached page 2. Open inspector to Resources or Debugger tab. 3. Navigate the inspected page away to another page 4. Press the back button or evaluate window.history.back() EXPECTED: Main resource appears in sidebar, along with any resources that were downloaded or failed when the page was loaded ACTUAL: Nothing appears in the sidebar at all NOTES: This appears to be related to the back-forward cache. If this is a cache hit, then WebCore will not tell the frontend about any new resource loads because it doesn't perform any loads at all to redisplay the page. If it's a miss, then it works fine because we have to re-download or revalidate resources. I'm not sure how we should fix this. - We shouldn't disable the back-forward cache while inspecting for performance reasons. That also be bad because it would make it impossible to debug problems that web content may have related to the back-forward cache (like page visibility and throttling). - One option is to tell the inspector about the navigation type (specifically, whether it hit the back-forward cache), and have the frontend keep around past resource trees until they are purged from the back-forward cache. I don't think the backend can re-send this data, since the original request data is probably not kept around after loading a resource finishes.
Attachments
Test case
(458 bytes, text/html)
2016-06-05 15:17 PDT
,
Blaze Burg
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-06-05 15:17:37 PDT
<
rdar://problem/26643004
>
Blaze Burg
Comment 2
2016-06-05 15:17:38 PDT
Created
attachment 280563
[details]
Test case
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