From 6f6542528162a39991badba7d7d25ebb29493098 Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Mon, 23 Sep 2002 19:13:51 +0000 Subject: [PATCH] Fix jsconsole to open our view source window. --- .../components/console/content/console.css | 57 --- .../components/console/content/console.xul | 2 +- .../console/content/consoleBindings.xml | 419 ------------------ browser/components/console/jar.mn | 2 +- 4 files changed, 2 insertions(+), 478 deletions(-) diff --git a/browser/components/console/content/console.css b/browser/components/console/content/console.css index 472153bee37..e69de29bb2d 100644 --- a/browser/components/console/content/console.css +++ b/browser/components/console/content/console.css @@ -1,57 +0,0 @@ - -.console-box { - -moz-binding: url("chrome://global/content/consoleBindings.xml#console-box"); - overflow: auto; -} - -.console-rows { - -moz-user-focus: normal; -} - -.console-row[type="error"], -.console-row[type="warning"] { - -moz-binding: url("chrome://global/content/consoleBindings.xml#error"); -} - -.console-row[type="message"] { - -moz-binding: url("chrome://global/content/consoleBindings.xml#message"); -} - -.console-error-msg { - white-space: normal; -} - -.console-msg-text { - white-space: pre; -} - -.console-error-source { - -moz-binding: url("chrome://global/content/consoleBindings.xml#console-error-source"); -} - -/* :::::::::: hiding and showing of rows for each mode :::::::::: */ - -.console-box[mode="Warnings"] > .console-box-internal > .console-rows - > .console-row[type="error"], -.console-box[mode="Messages"] > .console-box-internal > .console-rows - > .console-row[type="error"] -{ - display: none; -} - -.console-box[mode="Errors"] > .console-box-internal > .console-rows - > .console-row[type="warning"], -.console-box[mode="Messages"] > .console-box-internal > .console-rows - > .console-row[type="warning"] -{ - display: none; -} - -.console-box[mode="Errors"] > .console-box-internal > .console-rows - > .console-row[type="message"], -.console-box[mode="Warnings"] > .console-box-internal > .console-rows - > .console-row[type="message"] -{ - display: none; -} - diff --git a/browser/components/console/content/console.xul b/browser/components/console/content/console.xul index ab2c0ca0540..39405b2d224 100644 --- a/browser/components/console/content/console.xul +++ b/browser/components/console/content/console.xul @@ -24,7 +24,7 @@ Contributor(s): Joe Hewitt - + diff --git a/browser/components/console/content/consoleBindings.xml b/browser/components/console/content/consoleBindings.xml index 8209b8a5d23..e69de29bb2d 100644 --- a/browser/components/console/content/consoleBindings.xml +++ b/browser/components/console/content/consoleBindings.xml @@ -1,419 +0,0 @@ - - - - - - - - - - - - - - - - - 250 - - -1 - - - - - - - return this.mCount - - - - return this.mMode; - - - - - return this.getAttribute("sortOrder"); - this.setAttribute("sortOrder", val); return val; - - null - - return this.mSelectedItem - - - - - - - - - - - - - = limit; --i) - if (!messages[i].message) - break; - - // Populate with messages after latest "clear" - while (++i < messages.length) - this.appendItem(messages[i]); - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - this.limit) this.deleteFirst(); - ]]> - - - - - - - - - - - - - 0) - return kids2[0]; - } - return null; - ]]> - - - - - - - - - - - - - - this.init(); - this.destroy(); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/browser/components/console/jar.mn b/browser/components/console/jar.mn index 661a7f3fb02..534e45386fc 100644 --- a/browser/components/console/jar.mn +++ b/browser/components/console/jar.mn @@ -2,7 +2,7 @@ browser.jar: content/browser/console/console.js (content/console.js) content/browser/console/console.xul (content/console.xul) content/browser/console/console.css (content/console.css) - content/browser/console/consoleBindings.xml (content/consoleBindings.xml) + content/browser/console/consoleBindings.xml (content/consoleBindings.xml) en-US.jar: locale/en-US/browser/console/console.dtd (locale/console.dtd)