mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 865250 - Part 4: Merge duplicated paths in switch statements. r=mleibovic
This commit is contained in:
parent
7433f3a7b9
commit
f70654c652
@ -1033,9 +1033,6 @@ var BrowserApp = {
|
||||
// preferences to be actual booleans.
|
||||
switch (prefName) {
|
||||
case "network.cookie.cookieBehavior":
|
||||
pref.type = "string";
|
||||
pref.value = pref.value.toString();
|
||||
break;
|
||||
case "font.size.inflation.minTwips":
|
||||
pref.type = "string";
|
||||
pref.value = pref.value.toString();
|
||||
@ -1120,9 +1117,6 @@ var BrowserApp = {
|
||||
// integers and strings to represent booleans. Here, we convert them back
|
||||
// to their actual types so we can store them.
|
||||
case "network.cookie.cookieBehavior":
|
||||
json.type = "int";
|
||||
json.value = parseInt(json.value);
|
||||
break;
|
||||
case "font.size.inflation.minTwips":
|
||||
json.type = "int";
|
||||
json.value = parseInt(json.value);
|
||||
|
Loading…
Reference in New Issue
Block a user