Bug 18223

Summary: New resources shown in network pane despite only being loaded once
Product: WebKit Reporter: Matt Lilek <dev+webkit>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, eroman, timothy
Priority: P2 Keywords: HasReduction, InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase
none
Testcase none

Description Matt Lilek 2008-03-30 12:40:14 PDT
Changing an element's style so that it uses an external resource shows that resource as loaded as many times as it is used in the network pane, despite it only being loaded once.

Load the attached testcase and click "Change to green" 5 times to change all the bullet colors and open the inspector's network pane - green-bullet.png is listed in there 5 times.
Comment 1 Matt Lilek 2008-03-30 12:41:31 PDT
Created attachment 20215 [details]
Testcase
Comment 2 Matt Lilek 2008-03-30 13:32:55 PDT
Created attachment 20218 [details]
Testcase

No idea why I used that retarded for loop in the last version...

Anyway, it should be pointed out that if you were to change all of the bullets on a single pass thru, they would show up once in the network pane.
Comment 3 Timothy Hatcher 2008-04-17 14:29:39 PDT
<rdar://problem/5689373>
Comment 4 Timothy Hatcher 2008-05-22 23:58:43 PDT
Landed in r34059.