Bug 32551 - Web Inspector: Do not lose HTTP redirect information, display it in the Resources Panel.
Summary: Web Inspector: Do not lose HTTP redirect information, display it in the Resou...
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: 2009-12-15 04:51 PST by Pavel Feldman
Modified: 2009-12-15 08:40 PST (History)
6 users (show)

See Also:


Attachments
[IMAGE] Navigating to gmail.com when not logged in now results in 3 entries. (164.57 KB, image/png)
2009-12-15 04:52 PST, Pavel Feldman
no flags Details
[PATCH] Proposed change (contains drive-by fix removing createScriptObject - no need in that). (17.19 KB, patch)
2009-12-15 04:58 PST, Pavel Feldman
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2009-12-15 04:51:06 PST
Currently we lose all the intermediate redirects / headers. We should not.
Comment 1 Pavel Feldman 2009-12-15 04:52:53 PST
Created attachment 44865 [details]
[IMAGE] Navigating to gmail.com when not logged in now results in 3 entries.
Comment 2 Pavel Feldman 2009-12-15 04:58:20 PST
Created attachment 44867 [details]
[PATCH] Proposed change (contains drive-by fix removing createScriptObject - no need in that).
Comment 3 WebKit Review Bot 2009-12-15 05:00:36 PST
style-queue ran check-webkit-style on attachment 44867 [details] without any errors.
Comment 4 Timothy Hatcher 2009-12-15 07:59:20 PST
Comment on attachment 44867 [details]
[PATCH] Proposed change (contains drive-by fix removing createScriptObject - no need in that).


> +    if (resource != m_mainResource && windowVisible())
>          resource->updateScriptObject(m_frontend.get());

Where does the main resource get updated?
Comment 5 Pavel Feldman 2009-12-15 08:37:19 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/InspectorController.cpp
	M	WebCore/inspector/InspectorFrontend.cpp
	M	WebCore/inspector/InspectorFrontend.h
	M	WebCore/inspector/InspectorResource.cpp
	M	WebCore/inspector/InspectorResource.h
	M	WebCore/inspector/front-end/inspector.js
Committed r52154
Comment 6 Pavel Feldman 2009-12-15 08:40:15 PST
(In reply to comment #4)
> (From update of attachment 44867 [details])
> 
> > +    if (resource != m_mainResource && windowVisible())
> >          resource->updateScriptObject(m_frontend.get());
> 
> Where does the main resource get updated?

It did not matter that much - I just wanted main resource not to be touched until the commit.