Skip to content

Commit

Permalink
Adding correct preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
martiansideofthemoon committed Mar 9, 2016
1 parent 7531438 commit 7811e8c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/marionette.rs
Expand Up @@ -152,18 +152,12 @@ impl ToMarionette for GeckoContextParameters {
}
}

pub static E10S_PREFERENCES: [(&'static str, PrefValue); 7] = [
("browser.tabs.remote.autostart.1", PrefValue::PrefBool(true)),
("browser.tabs.remote.autostart.2", PrefValue::PrefBool(true)),
("browser.tabs.remote.autostart.3", PrefValue::PrefBool(true)),
("browser.tabs.remote.autostart.4", PrefValue::PrefBool(true)),
("browser.tabs.remote.autostart.5", PrefValue::PrefBool(true)),
("browser.tabs.remote.autostart.6", PrefValue::PrefBool(true)),
("dom.ipc.processCount", PrefValue::PrefInt(1))
pub static E10S_PREFERENCES: [(&'static str, PrefValue); 1] = [
("browser.tabs.remote.autostart", PrefValue::PrefBool(true)),
];

pub static NON_E10S_PREFERENCES: [(&'static str, PrefValue); 2] = [
("browser.tabs.remote.autostart.1", PrefValue::PrefBool(false)),
("browser.tabs.remote.autostart", PrefValue::PrefBool(false)),
("browser.tabs.remote.autostart.2", PrefValue::PrefBool(false))
];

Expand Down

0 comments on commit 7811e8c

Please sign in to comment.