Bug 21105

Summary: XHRs logged in the console may show the wrong URL for the source
Product: WebKit Reporter: Kevin McCullough <kmccullough>
Component: Web Inspector (Deprecated)Assignee: Kevin McCullough <kmccullough>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
zip of test
none
Proposed patch mitz: review+

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.