Rename net.mime.sniff pref to network.mime.sniff.

Gecko uses the `network` prefix for network related items. Might be good
to mirror that here.
This commit is contained in:
Corey Farwell 2016-04-17 16:15:24 -04:00
parent 317629d86e
commit 07209c75db
5 changed files with 5 additions and 5 deletions

View file

@ -77,7 +77,7 @@ pub fn start_sending_sniffed_opt(start_chan: LoadConsumer, mut metadata: Metadat
classifier: Arc<MIMEClassifier>, partial_body: &[u8],
context: LoadContext)
-> Result<ProgressSender, ()> {
if prefs::get_pref("net.mime.sniff").as_boolean().unwrap_or(false) {
if prefs::get_pref("network.mime.sniff").as_boolean().unwrap_or(false) {
// TODO: should be calculated in the resource loader, from pull requeset #4094
let mut no_sniff = NoSniffFlag::OFF;
let mut check_for_apache_bug = ApacheBugFlag::OFF;