зеркало из https://github.com/mozilla/gecko-dev.git
remove support for dom.disable_cookie_{get,set} prefs.
b=223782, r=jst,caillon, sr=alecf,darin (yes really, four reviews).
This commit is contained in:
Родитель
29d3b3668b
Коммит
3b4defe2d5
|
@ -45,8 +45,6 @@ function changeDisabledState(state){
|
|||
document.getElementById("allowScripts").disabled = state;
|
||||
document.getElementById("allowWindowMoveResize").disabled = state;
|
||||
document.getElementById("allowImageSrcChange").disabled = state;
|
||||
document.getElementById("allowDocumentCookieSet").disabled = state;
|
||||
document.getElementById("allowDocumentCookieGet").disabled = state;
|
||||
document.getElementById("allowWindowStatusChange").disabled = state;
|
||||
document.getElementById("allowWindowFlip").disabled = state;
|
||||
document.getElementById("allowHideStatusBar").disabled = state;
|
||||
|
@ -89,8 +87,6 @@ function Startup(){
|
|||
var changedList = ["allowWindowMoveResizeChanged",
|
||||
"allowWindowStatusChangeChanged",
|
||||
"allowWindowFlipChanged",
|
||||
"allowDocumentCookieSetChanged",
|
||||
"allowDocumentCookieGetChanged",
|
||||
"allowImageSrcChangeChanged",
|
||||
"allowHideStatusBarChanged"];
|
||||
|
||||
|
@ -104,8 +100,6 @@ function Startup(){
|
|||
document.getElementById("allowWindowFlip").checked = getPrefValueForCheckbox("dom.disable_window_flip");
|
||||
document.getElementById("allowWindowStatusChange").checked = getPrefValueForCheckbox("dom.disable_window_status_change");
|
||||
document.getElementById("allowImageSrcChange").checked = getPrefValueForCheckbox("dom.disable_image_src_set");
|
||||
document.getElementById("allowDocumentCookieGet").checked = getPrefValueForCheckbox("dom.disable_cookie_get");
|
||||
document.getElementById("allowDocumentCookieSet").checked = getPrefValueForCheckbox("dom.disable_cookie_set");
|
||||
document.getElementById("allowHideStatusBar").checked = getPrefValueForCheckbox("dom.disable_window_open_feature.status");
|
||||
|
||||
//If we don't have a checkbox under groupbox pluginPreferences, we should hide it
|
||||
|
@ -155,16 +149,6 @@ function doOnOk(){
|
|||
!getCheckboxValue("allowWindowFlip"));
|
||||
}
|
||||
|
||||
if (data.scriptData["allowDocumentCookieSetChanged"].value){
|
||||
parent.hPrefWindow.setPref("bool", "dom.disable_cookie_set",
|
||||
!getCheckboxValue("allowDocumentCookieSet"));
|
||||
}
|
||||
|
||||
if (data.scriptData["allowDocumentCookieGetChanged"].value){
|
||||
parent.hPrefWindow.setPref("bool", "dom.disable_cookie_get",
|
||||
!getCheckboxValue("allowDocumentCookieGet"));
|
||||
}
|
||||
|
||||
if (data.scriptData["allowImageSrcChangeChanged"].value){
|
||||
parent.hPrefWindow.setPref("bool", "dom.disable_image_src_set",
|
||||
!getCheckboxValue("allowImageSrcChange"));
|
||||
|
|
|
@ -52,8 +52,6 @@
|
|||
"allowWindowFlip",
|
||||
"allowWindowStatusChange",
|
||||
"allowImageSrcChange",
|
||||
"allowDocumentCookieSet",
|
||||
"allowDocumentCookieGet",
|
||||
"allowHideStatusBar"];
|
||||
]]>
|
||||
</script>
|
||||
|
@ -75,8 +73,6 @@
|
|||
<listitem type="checkbox" id="allowHideStatusBar" label="&allowHideStatusBar.label;"/>
|
||||
<listitem type="checkbox" id="allowWindowStatusChange" label="&allowWindowStatusChange.label;"/>
|
||||
<listitem type="checkbox" id="allowImageSrcChange" label="&allowWindowImageSrcChange.label;"/>
|
||||
<listitem type="checkbox" id="allowDocumentCookieSet" label="&allowDocumentCookieSet.label;"/>
|
||||
<listitem type="checkbox" id="allowDocumentCookieGet" label="&allowDocumentCookieGet.label;"/>
|
||||
</listbox>
|
||||
</groupbox>
|
||||
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
<!ENTITY allowWindowFlip.label "Raise or lower windows">
|
||||
<!ENTITY allowWindowStatusChange.label "Change status bar text">
|
||||
<!ENTITY allowWindowImageSrcChange.label "Change images">
|
||||
<!ENTITY allowDocumentCookieSet.label "Create or change cookies">
|
||||
<!ENTITY allowDocumentCookieGet.label "Read cookies">
|
||||
<!ENTITY allowHideStatusBar.label "Hide the status bar">
|
||||
|
||||
<!ENTITY enablePlugin.label "Enable Plug-ins for">
|
||||
|
|
Загрузка…
Ссылка в новой задаче