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

Yongjun Zhang
Reported 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.
Attachments
Don't track subresources after main frame loaded, expect for those started by user interaction. (6.78 KB, patch)
2014-11-10 15:22 PST, Yongjun Zhang
no flags
Yongjun Zhang
Comment 1 2014-11-10 14:55:39 PST
Yongjun Zhang
Comment 2 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.
David Kilzer (:ddkilzer)
Comment 3 2014-11-10 20:13:00 PST
Sam Weinig
Comment 4 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.
WebKit Commit Bot
Comment 5 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>
WebKit Commit Bot
Comment 6 2014-11-19 21:45:54 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.