1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 08:07:59 +01:00

Fix some moz-anno: security errors in the Error Console.

This commit is contained in:
Kris Maglione
2011-01-15 17:56:41 -05:00
parent 45636c6f2e
commit 83778a8e16
2 changed files with 9 additions and 6 deletions

View File

@@ -34,14 +34,14 @@ var CommandWidgets = Class("CommandWidgets", {
<vbox id={config.commandContainer}>
<vbox class="dactyl-container" id="dactyl-multiline-output-container" hidden="false" collapsed="true">
<iframe id="dactyl-multiline-output" src="resource://dactyl-content/buffer.xhtml"
<iframe id="dactyl-multiline-output" src="dactyl://content/buffer.xhtml"
flex="1" hidden="false" collapsed="false"
contextmenu="dactyl-contextmenu"
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
</vbox>
<vbox class="dactyl-container" hidden="false" collapsed="true">
<iframe class="dactyl-completions" id="dactyl-completions-dactyl-commandline" src="resource://dactyl-content/buffer.xhtml"
<iframe class="dactyl-completions" id="dactyl-completions-dactyl-commandline" src="dactyl://content/buffer.xhtml"
contextmenu="dactyl-contextmenu"
flex="1" hidden="false" collapsed="false"
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
@@ -75,7 +75,7 @@ var CommandWidgets = Class("CommandWidgets", {
before: <e4x xmlns={XUL} xmlns:dactyl={NS}>
<toolbar id={statusline.statusBar.id}>
<vbox id={"dactyl-completions-" + _status + "commandline-container"} class="dactyl-container" hidden="false" collapsed="true">
<iframe class="dactyl-completions" id={"dactyl-completions-" + _status + "commandline"} src="resource://dactyl-content/buffer.xhtml"
<iframe class="dactyl-completions" id={"dactyl-completions-" + _status + "commandline"} src="dactyl://content/buffer.xhtml"
contextmenu="dactyl-contextmenu"
flex="1" hidden="false" collapsed="false"
onclick="dactyl.modules.commandline.onMultilineOutputEvent(event)"/>
@@ -162,7 +162,7 @@ var CommandWidgets = Class("CommandWidgets", {
let fontSize = util.computedStyle(document.documentElement).fontSize;
styles.registerSheet("resource://dactyl-skin/dactyl.css");
styles.system.add("font-size", "resource://dactyl-content/buffer.xhtml",
styles.system.add("font-size", "dactyl://content/buffer.xhtml",
"body { font-size: " + fontSize + "; }");
},
cleanup: function cleanup() {

View File

@@ -28,6 +28,7 @@
/* Applied only to completion buffer and MOW */
@-moz-document
url-prefix(dactyl:),
url-prefix(resource://dactyl) {
*:-moz-loading, *:-moz-broken { display: none !important; }
@@ -75,6 +76,7 @@
}
@-moz-document
url-prefix(dactyl:),
url-prefix(resource://dactyl) {
*:-moz-any-link:hover {
@@ -84,8 +86,9 @@
/* Applied to completion buffer, MOW, browser window */
@-moz-document
url-prefix(chrome://),
url-prefix(resource://) {
url-prefix(chrome:),
url-prefix(dactyl:),
url-prefix(resource:) {
#TabsToolbar .tab-icon-image, .tab-throbber { -moz-box-ordinal-group: 10; }
[dactyl|highlight~=tab-number] { -moz-box-ordinal-group: 20; }