Changes between Version 10 and Version 15 of Ticket #1487


Ignore:
Timestamp:
10/27/2014 04:37:32 PM (5 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1487

    • Property Cc oleksandr@… added; sebastian removed
  • Ticket #1487 – Description

    v10 v15  
    55Implement a mechanism in the core code to support pre-configured properties. Provide hooks for the platform-specific implementation to retrieve those properties, considering that those hooks have to be implemented with asynchronous APIs (on some platforms, e.g. Chrome). However, since some platforms (i.e. Opera, Safari, Android) won't support pre-configurable properties those hooks must be optional. 
    66 
    7 Pre-configured properties should be accessed the same way as user-defined properties via `prefs.Prefs`. If there is a user-defined property with the same name, the value set by the user overrides the pre-configured value. 
     7Pre-configured properties should be accessed the same way as user-defined properties via `prefs.Prefs`. However, there must be a whitelist restricting the properties that can be pre-configured, for now that will be only `hide_first_run_page`. Also if there is a user-defined property with the same name, the value set by the user must override the pre-configured value.