On Fri, Oct 9, 2009 at 10:28 PM, Jickae Davis <[email protected]> wrote:
> No--there is in fact no way to determine that in advance. Each resource >> can reference other resources, and even for a single resource we often don't >> know what size it is until we finish loading it. > > > We could provide a dynamically-updating bar with a fraction of > "files-already-loaded/files-needed", just like Opera does. > Files-needed would have to get updated on the fly as well. While this might be possible, it's hard to say how useful it is--among other things, simply displaying a dynamic bar with loaded/needed could cause the progress bar to go backwards at certain points, which is not very informative. > But the problem is : where are the count-numbers of files? > There is no explicit count. As WebKit parses HTML, we queue up requests for resources that are encountered in that HTML. We only know we're "done" when there are no more pending requests. There is no way to tell in advance. --Amanda --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
