Exemple #1
0
 ('storage',
  sect.KeyValue(
      ('download-directory', SettingValue(typ.Directory(none_ok=True), ''),
       "The directory to save downloads to. An empty value selects a "
       "sensible os-specific default."),
      ('maximum-pages-in-cache',
       SettingValue(typ.Int(none_ok=True, minval=0, maxval=MAXVALS['int']),
                    ''),
       "The maximum number of pages to hold in the memory page cache.\n\n"
       "The Page Cache allows for a nicer user experience when navigating "
       "forth or back to pages in the forward/back history, by pausing and "
       "resuming up to _n_ pages.\n\n"
       "For more information about the feature, please refer to: "
       "http://webkit.org/blog/427/webkit-page-cache-i-the-basics/"),
      ('object-cache-capacities',
       SettingValue(typ.WebKitBytesList(length=3, maxsize=MAXVALS['int']),
                    ''),
       "The capacities for the memory cache for dead objects such as "
       "stylesheets or scripts. Syntax: cacheMinDeadCapacity, cacheMaxDead, "
       "totalCapacity.\n\n"
       "The _cacheMinDeadCapacity_ specifies the minimum number of bytes "
       "that dead objects should consume when the cache is under "
       "pressure.\n\n"
       "_cacheMaxDead_ is the maximum number of bytes that dead objects "
       "should consume when the cache is *not* under pressure.\n\n"
       "_totalCapacity_ specifies the maximum number of bytes "
       "that the cache should consume *overall*."),
      ('offline-storage-default-quota',
       SettingValue(typ.WebKitBytes(maxsize=MAXVALS['int64']), ''),
       "Default quota for new offline storage databases."),
      ('offline-web-application-cache-quota',
Exemple #2
0
         "The directory to save downloads to. An empty value selects a "
         "sensible os-specific default."),

        ('maximum-pages-in-cache',
         SettingValue(
             typ.Int(none_ok=True, minval=0, maxval=MAXVALS['int']), ''),
         "The maximum number of pages to hold in the memory page cache.\n\n"
         "The Page Cache allows for a nicer user experience when navigating "
         "forth or back to pages in the forward/back history, by pausing and "
         "resuming up to _n_ pages.\n\n"
         "For more information about the feature, please refer to: "
         "http://webkit.org/blog/427/webkit-page-cache-i-the-basics/"),

        ('object-cache-capacities',
         SettingValue(
             typ.WebKitBytesList(length=3, maxsize=MAXVALS['int']), ''),
         "The capacities for the memory cache for dead objects such as "
         "stylesheets or scripts. Syntax: cacheMinDeadCapacity, cacheMaxDead, "
         "totalCapacity.\n\n"
         "The _cacheMinDeadCapacity_ specifies the minimum number of bytes "
         "that dead objects should consume when the cache is under "
         "pressure.\n\n"
         "_cacheMaxDead_ is the maximum number of bytes that dead objects "
         "should consume when the cache is *not* under pressure.\n\n"
         "_totalCapacity_ specifies the maximum number of bytes "
         "that the cache should consume *overall*."),

        ('offline-storage-default-quota',
         SettingValue(typ.WebKitBytes(maxsize=MAXVALS['int64']), ''),
         "Default quota for new offline storage databases."),