Bug 138582

Summary: Don't track sub-resources that are started after main frame progress has completed.
Product: WebKit Reporter: Yongjun Zhang <yongjun_zhang>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, andersca, ap, bdakin, beidson, buildbot, commit-queue, dbates, ddkilzer, kdecker, mitz, rniwa, sam, thorton
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 138848    
Attachments:
Description Flags
Don't track subresources after main frame loaded, expect for those started by user interaction. none

Description Yongjun Zhang 2014-11-10 14:55:00 PST
After main frame progress has finished, start loading a sub-resource shouldn't affect UI process's view of page loading status (i.e., the page has already completed loading and the progress shouldn't change).  To avoid confusing the UI, we should consider not to track sub-resources that are started after the main frame has finished loading, except for those loaded by user interaction.
Comment 1 Yongjun Zhang 2014-11-10 14:55:39 PST
<rdar://problem/12354161>
Comment 2 Yongjun Zhang 2014-11-10 15:22:27 PST
Created attachment 241313 [details]
Don't track subresources after main frame loaded, expect for those started by user interaction.
Comment 3 David Kilzer (:ddkilzer) 2014-11-10 20:13:00 PST
<rdar://problem/12354161>
Comment 4 Sam Weinig 2014-11-19 16:27:06 PST
Comment on attachment 241313 [details]
Don't track subresources after main frame loaded, expect for those started by user interaction.

Would be great if you could add an API test for this.
Comment 5 WebKit Commit Bot 2014-11-19 21:45:47 PST
Comment on attachment 241313 [details]
Don't track subresources after main frame loaded, expect for those started by user interaction.

Clearing flags on attachment: 241313

Committed r176382: <http://trac.webkit.org/changeset/176382>
Comment 6 WebKit Commit Bot 2014-11-19 21:45:54 PST
All reviewed patches have been landed.  Closing bug.