RESOLVED FIXED 11152
Loading locks up the browser on mobile devices
https://bugs.webkit.org/show_bug.cgi?id=11152
Summary Loading locks up the browser on mobile devices
David Carson
Reported 2006-10-04 08:01:03 PDT
When loading large sites on mobile devices, the browser often feels like it locks up. The user can not navigate the partially loaded content.
Attachments
patch (2.18 KB, patch)
2006-10-04 08:11 PDT, David Carson
no flags
Corrected patch after Zalan's comment (2.17 KB, patch)
2006-10-04 09:21 PDT, David Carson
darin: review+
David Carson
Comment 1 2006-10-04 08:11:17 PDT
Created attachment 10900 [details] patch The tokenizer chunk size is quite large for low CPU devices, which results in the browser spending all it's time in the tokenizer. With a smaller chunk size, the tokenizer yields more often allowing the browser to respond to key events, etc. With the smaller chunk size, the tokenizer should not need to wait as before resuming tokenizing.
zalan
Comment 2 2006-10-04 09:16:40 PDT
'#define MOBILE 0' makes '#ifdef MOBILE' true, use #if MOBILE instead.
David Carson
Comment 3 2006-10-04 09:21:00 PDT
Created attachment 10901 [details] Corrected patch after Zalan's comment Changed #ifdef MOBILE to #if MOBILE
Darin Adler
Comment 4 2006-10-05 07:49:56 PDT
Comment on attachment 10901 [details] Corrected patch after Zalan's comment The only thing I'm concerned about here is that there's a comment that mentions 200ms in the non-mobile case, but for some reason the we are using 300ms for the mobile case. r=me
Mark Rowe (bdash)
Comment 5 2006-10-05 14:43:55 PDT
Landed in r16821.
Note You need to log in before you can comment on or make changes to this bug.