Bug 21105 - XHRs logged in the console may show the wrong URL for the source
Summary: XHRs logged in the console may show the wrong URL for the source
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Kevin McCullough
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-09-25 09:12 PDT by Kevin McCullough
Modified: 2008-09-25 09:48 PDT (History)
0 users

See Also:


Attachments
zip of test (456.16 KB, application/zip)
2008-09-25 09:14 PDT, Kevin McCullough
no flags Details
Proposed patch (2.90 KB, patch)
2008-09-25 09:16 PDT, Kevin McCullough
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McCullough 2008-09-25 09:12:37 PDT
XHRs that are logged in the console show the URL of the main resource not necessarily the resource that loaded them.

* STEPS TO REPRODUCE
1. Load the attached test and run from a server
2. View the XHRs listed in the profiler.

The resource xhrCSS.css was loaded from xhrJS.js not xhrTest.html

<rdar://problem/6136598>
Comment 1 Kevin McCullough 2008-09-25 09:14:04 PDT
Created attachment 23797 [details]
zip of test
Comment 2 Kevin McCullough 2008-09-25 09:16:29 PDT
Created attachment 23798 [details]
Proposed patch
Comment 3 mitz 2008-09-25 09:28:44 PDT
Comment on attachment 23798 [details]
Proposed patch

r=me
Comment 4 Kevin McCullough 2008-09-25 09:48:49 PDT
Committed revision 36895.