зеркало из https://github.com/mozilla/gecko-dev.git
Page report stuff.
This commit is contained in:
Родитель
d8d932cd3f
Коммит
bf98c65984
|
@ -3130,6 +3130,12 @@ function displayPageInfo()
|
|||
"dialog=no", null, "securityTab");
|
||||
}
|
||||
|
||||
function displayPageReport()
|
||||
{
|
||||
window.openDialog("chrome://browser/content/pageReport.xul", "_blank",
|
||||
"dialog=no");
|
||||
}
|
||||
|
||||
const mediatorContractId = "@mozilla.org/appshell/window-mediator;1";
|
||||
const nsIWebBrowserChrome = Components.interfaces.nsIWebBrowserChrome;
|
||||
|
||||
|
|
|
@ -937,7 +937,9 @@ Contributor(s):
|
|||
<statusbar class="chromeclass-status" id="status-bar"
|
||||
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
||||
<statusbarpanel id="security-button" class="statusbarpanel-iconic"
|
||||
onclick="displayPageInfo()"/>
|
||||
onclick="displayPageInfo()"/>
|
||||
<statusbarpanel id="page-report-button" class="statusbarpanel-iconic"
|
||||
onclick="displayPageReport();"/>
|
||||
<statusbarpanel id="statusbar-display" flex="1"/>
|
||||
<statusbarpanel class="statusbarpanel-progress">
|
||||
<progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
|
||||
|
|
|
@ -748,6 +748,15 @@ toolbar[iconsize="small"] #history-button[disabled="true"] {
|
|||
display: -moz-box;
|
||||
}
|
||||
|
||||
#page-report-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#page-report-button[blocked] {
|
||||
display: -moz-box;
|
||||
list-style-image: url("chrome://browser/skin/info-small.png");
|
||||
}
|
||||
|
||||
/* ::::: throbber ::::: */
|
||||
|
||||
#navigator-throbber {
|
||||
|
|
Загрузка…
Ссылка в новой задаче