get_preferences

Function get_preferences 

Source
fn get_preferences(
    prefs_files: &[PathBuf],
    config_dir: &Option<PathBuf>,
) -> Preferences
Expand description

Get a Servo Preferences to use when initializing Servo by first reading the user preferences file and then overriding these preferences with the ones from the --prefs-file command-line argument, if given.