Bug 138582 - Don't track sub-resources that are started after main frame progress has completed.
Summary: Don't track sub-resources that are started after main frame progress has comp...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 138848
  Show dependency treegraph
 
Reported: 2014-11-10 14:55 PST by Yongjun Zhang
Modified: 2014-11-19 21:45 PST (History)
14 users (show)

See Also:


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 Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.