mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 1574991 - Remove "In Browser Element" from about:cache.r=baku
Differential Revision: https://phabricator.services.mozilla.com/D70898
This commit is contained in:
parent
d67f3a91f3
commit
a1891f468b
@ -98,14 +98,6 @@ nsresult nsAboutCache::Channel::Init(nsIURI* aURI, nsILoadInfo* aLoadInfo) {
|
||||
mBuffer.AppendLiteral(
|
||||
"<label><input id='priv' type='checkbox'/> Private</label>\n"
|
||||
"<label><input id='anon' type='checkbox'/> Anonymous</label>\n");
|
||||
|
||||
// Visit scoping by browseris not implemented for the old cache, simply don't
|
||||
// add these controls. The inbrowser entries are already mixed in the
|
||||
// default view anyway.
|
||||
mBuffer.AppendLiteral(
|
||||
"<label><input id='inbrowser' type='checkbox'/> In Browser "
|
||||
"Element</label>\n");
|
||||
|
||||
mBuffer.AppendLiteral(
|
||||
"<label><input id='submit' type='button' value='Update'/></label>\n");
|
||||
|
||||
|
@ -25,7 +25,6 @@ addEventListener(
|
||||
"DOMContentLoaded",
|
||||
function() {
|
||||
$("anon").checked = !!isAnon;
|
||||
$("inbrowser").checked = !!isInBrowser;
|
||||
$("priv").checked = !!isPrivate;
|
||||
},
|
||||
false
|
||||
@ -38,9 +37,7 @@ function navigate() {
|
||||
if ($("anon").checked) {
|
||||
context += "a,";
|
||||
}
|
||||
if ($("inbrowser").checked) {
|
||||
context += "b,";
|
||||
}
|
||||
|
||||
if ($("priv").checked) {
|
||||
context += "p,";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user