Changes between Version 1 and Version 2 of Mobile


Ignore:
Timestamp:
Jan 17, 2008 8:03:02 AM (16 years ago)
Author:
dacarson@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Mobile

    v1 v2  
    1111  * OpenMoko
    1212
     13== Other devices using Webkit ==
     14 * Android - Changes are not in SVN yet.
     15
    1316== Build configurations ==
    1417
    15 === LOW_BANDWIDTH_DISPLAY ===
     18Details from the [http://bugs.webkit.org/show_bug.cgi?id=12279 bug:12279]:
     19When loading some sites on devices that have high latency and low bandwidth (HL/LB), the user may not see content for quite some time. This is due the external javascript references and CSS references. When the parser hits the external JS reference, it blocks - which is the correct behaviour - and waits until the JS is available then executes the JS. Then continues parsing the markup.
     20When using a HL/LB device, the user can be waiting too long, and they press cancel to stop loading thinking that the page is not loading.
     21 
     22One way to address this issue is to load the page, but not execute any JS or block on external CSS requests, though, the content is still requested. This way the user sees some content. When all the content is available, the browser needs to reparse the HTML content executing the JS and applying the CSS. This process does result in a FoUC (Flash of Unstyled Content), though, this is preferable to the user pressing cancel. Enabling this flag enables this implementation.
    1623
    1724=== MOBILE ===
     25This flag was meant to represent a set of changes that would make WebKit work better on mobile devices. Presently, though, this flag is only used in the HTMLTokenizer.cpp. It adjusts the tokenizer chunk size. From the comments in the file:
     26
     27// The mobile device needs to be responsive, as such the tokenizer chunk size is reduced.
     28// This value is used to define how many characters the tokenizer will process before
     29// yeilding control.
     30#define TOKENIZER_CHUNK_SIZE  256
    1831
    1932== Compiler flags ==