Bug 42372 - Web Inspector: differentiate between blocking and connecting timers.
Summary: Web Inspector: differentiate between blocking and connecting timers.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 07:13 PDT by Pavel Feldman
Modified: 2010-07-15 08:04 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Proposed change. (14.70 KB, patch)
2010-07-15 07:17 PDT, Pavel Feldman
yurys: review-
Details | Formatted Diff | Diff
[PATCH] Fixed typos, added cached reporting branch. (15.22 KB, patch)
2010-07-15 07:30 PDT, Pavel Feldman
yurys: review+
Details | Formatted Diff | Diff
[PATCH] To land. (15.22 KB, patch)
2010-07-15 07:40 PDT, Pavel Feldman
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2010-07-15 07:13:37 PDT
Also contains couple of drive-by fixes:
- allows setting "cached" after the resource graph has been created.
- prevents inspector from getting information about the same resource twice in case areMemoryCacheClientCallsEnabled == true.
Comment 1 Pavel Feldman 2010-07-15 07:17:31 PDT
Created attachment 61655 [details]
[PATCH] Proposed change.
Comment 2 Yury Semikhatsky 2010-07-15 07:28:47 PDT
Comment on attachment 61655 [details]
[PATCH] Proposed change.

WebCore/loader/FrameLoader.cpp:3080
 +          page->inspectorController()->didLoadResourceFromMemoryCache(m_documentLoader.get(), resource);
You seem to miss this call from the next branch.

WebCore/inspector/InspectorResource.cpp:67
 +      , m_connection(false)
What is this?
Comment 3 Pavel Feldman 2010-07-15 07:30:33 PDT
Created attachment 61657 [details]
[PATCH] Fixed typos, added cached reporting branch.
Comment 4 Yury Semikhatsky 2010-07-15 07:37:03 PDT
Comment on attachment 61657 [details]
[PATCH] Fixed typos, added cached reporting branch.

WebCore/loader/FrameLoader.cpp:3080
 +          page->inspectorController()->didLoadResourceFromMemoryCache(m_documentLoader.get(), resource);
Would be nice if we could get rid of duplicating this call.
Comment 5 Pavel Feldman 2010-07-15 07:40:20 PDT
Created attachment 61659 [details]
[PATCH] To land.
Comment 6 Pavel Feldman 2010-07-15 08:04:10 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/InspectorResource.cpp
	M	WebCore/inspector/InspectorResource.h
	M	WebCore/inspector/front-end/Resource.js
	M	WebCore/inspector/front-end/ResourcesPanel.js
	M	WebCore/inspector/front-end/inspector.js
	M	WebCore/loader/FrameLoader.cpp
	M	WebCore/platform/network/ResourceResponseBase.cpp
	M	WebCore/platform/network/ResourceResponseBase.h
	M	WebKit/chromium/ChangeLog
	M	WebKit/chromium/public/WebURLResponse.h
	M	WebKit/chromium/src/WebURLResponse.cpp
Committed r63425