From nobody Tue Jul 29 09:46:17 2003 Received: (qmail 82696 invoked from network); 29 Jul 2003 13:46:14 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.75) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 29 Jul 2003 13:46:14 -0000 Received: (qmail 20396040 invoked by uid 0); 29 Jul 2003 13:45:20 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.106]) (envelope-sender ) by 212.198.2.75 (qmail-ldap-1.03) with SMTP for ; 29 Jul 2003 13:45:20 -0000 Message-ID: <3F267A78.5090103@noos.fr> Date: Tue, 29 Jul 2003 15:45:28 +0200 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Jsconsole] JS Console version 1.1 X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2003 13:46:14 -0000 JS Console version 1.1 release (2003-07-29) This new release brings a major enhancement with the addition of the Unit testing framework (formerly developed as jsAssertUnit on SourceForge). This powerful framework allow easy First Test Design develoment with JavaScript. All assertion methods are included in the Store list and two documentation pages are devoted to the Unit tes framework. Fast save and reload have been added to the Code panel contextual menu. To allow easy printing, any page of the JS Console documentation can now be browsed in the main browser window of Mozilla, using the "Show in browser" menu item of the Help panel contextual menu. Some minor bugs have also been fixed (unterminated string error with code long lines, tabulations, etc.). Send comments to the JS Console mailing-list Daniel Fournier From nobody Fri Aug 22 01:02:05 2003 Received: (qmail 9191 invoked from network); 21 Aug 2003 18:01:17 -0000 Received: from unknown (HELO web9706.mail.yahoo.com) (216.136.129.241) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 21 Aug 2003 18:01:17 -0000 Message-ID: <20030821175924.19989.qmail@web9706.mail.yahoo.com> Received: from [208.171.200.237] by web9706.mail.yahoo.com via HTTP; Thu, 21 Aug 2003 10:59:24 PDT Date: Thu, 21 Aug 2003 10:59:24 -0700 (PDT) From: George Levasseur To: jsconsole@mozdev.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Fri, 22 Aug 2003 01:02:03 -0400 Subject: [Jsconsole] Problems using jsconsole. X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 18:01:17 -0000 I'm attempting to install and use jsconole. I appears to install without any trouble and the window opens when I click on Window, JS Console, but I can't make it do anything beyond that. I can't find any help files and there don't appear to be any list archives. Am I the first to try this thing? Any help is appreciated, George __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From nobody Fri Aug 22 01:18:58 2003 Received: (qmail 24345 invoked from network); 22 Aug 2003 05:18:56 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.80) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 22 Aug 2003 05:18:56 -0000 Received: (qmail 110016212 invoked by uid 0); 22 Aug 2003 05:17:02 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.239]) (envelope-sender ) by 212.198.2.80 (qmail-ldap-1.03) with SMTP for ; 22 Aug 2003 05:17:02 -0000 Message-ID: <3F45A758.7010202@noos.fr> Date: Fri, 22 Aug 2003 07:17:12 +0200 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org, geolev, at, yahoo.com@noos.fr Subject: [Jsconsole] Problems using jsconsole. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 05:18:56 -0000 Hi George, You can browse the JS Console Help by clicking on the Help button (the question mark) in the statusbar (at the bottom of the window), or if JS Concole window size is too small to display the statusbar by using the keyboard shortcut control-shift-? Navigate thru the Help pages with the contextual menu (right-click). You can access the preferences panel by clicking on the Preferences button (JS Console) in the statusbar or with the keyboard shortcut control-P. To begin using JS Console just type any JavaScript code in the Code panel -- if necessary, clear the content with the Clear command of the contextual menu. Then run that code with the Run command of the contextual menu or with the keyboard shortcut control-R. You will see the result of the evaluation either in the Output panel (if everything is right) or in the Errors panel (if something is wrong). To discover the full features of JS Console, read the Help pages. Cheers, Daniel From nobody Mon Aug 25 03:14:47 2003 Received: (qmail 63201 invoked from network); 23 Aug 2003 04:15:56 -0000 Received: from unknown (HELO web9704.mail.yahoo.com) (216.136.129.140) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 23 Aug 2003 04:15:56 -0000 Message-ID: <20030823041359.49466.qmail@web9704.mail.yahoo.com> Received: from [66.189.96.43] by web9704.mail.yahoo.com via HTTP; Fri, 22 Aug 2003 21:13:59 PDT Date: Fri, 22 Aug 2003 21:13:59 -0700 (PDT) From: George Levasseur To: jsconsole@mozdev.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Mon, 25 Aug 2003 03:14:45 -0400 Subject: [Jsconsole] Problems using jsconsole. X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 04:15:56 -0000 Hi Daniel, Tried your suggestions but it does not respond. I've tried to install it on two different machines. Both machines are running Mozilla 1.4 on W2k. I lets me type in code, and the context menu pops up when I right mouse click, but none of the commands work. Ctrl-R does not bring up help. Clear does not clear the screen, Open does nothing. Is there anything else I needed to install or was everything I needed included in the JSConsole install? Thanks for the help. I think this tool would be very useful if I could get it to work. Geo __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From nobody Mon Aug 25 04:29:16 2003 Received: (qmail 8224 invoked from network); 25 Aug 2003 08:29:14 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.80) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 25 Aug 2003 08:29:14 -0000 Received: (qmail 111643148 invoked by uid 0); 25 Aug 2003 08:27:11 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.239]) (envelope-sender ) by 212.198.2.80 (qmail-ldap-1.03) with SMTP for ; 25 Aug 2003 08:27:11 -0000 Message-ID: <3F49C860.70303@noos.fr> Date: Mon, 25 Aug 2003 10:27:12 +0200 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Subject: [Jsconsole] Problems using jsconsole. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 08:29:14 -0000 Hi George, I tested JS Console on Windows but could not reproduce the problem you encountered. All commands work fine for me (on Windows Me). However, reinstall the latest version. Try to launch Mozilla from the DOS console (with the -chrome argument) and then JS Console. If some EXCEPTION message is reported, post it in a message to this list, I'll try to find what's going wrong. Cheers, Daniel From nobody Fri Aug 29 01:37:35 2003 Received: (qmail 89344 invoked from network); 27 Aug 2003 21:25:26 -0000 Received: from unknown (HELO web9704.mail.yahoo.com) (216.136.129.140) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 27 Aug 2003 21:25:26 -0000 Message-ID: <20030827212317.84939.qmail@web9704.mail.yahoo.com> Received: from [208.171.200.237] by web9704.mail.yahoo.com via HTTP; Wed, 27 Aug 2003 14:23:17 PDT Date: Wed, 27 Aug 2003 14:23:17 -0700 (PDT) From: George Levasseur To: jsconsole@mozdev.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Fri, 29 Aug 2003 01:37:34 -0400 Subject: [Jsconsole] Problems using jsconsole X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 21:25:27 -0000 Sorry Daniel, no go. Tried reinstalling jsconsole and running from the command prompt. Mozilla comes up no problem. Open jsconsole via Window, JS Console and the jsconsole window opens with 4 tabs. If I right mouse click I get the popup menu but none of the options work. For example, if I type in some script then right mouse click and select Select all, nothing happens. Nothing happens no matter which option I choose. I've tried this on three different machines. They are all running Win2K. I do have one machine running XP Home. Maybe I'll try it on that one just to see if I can get it to work. That machine is my kids machine which I don't use to do development on, so it would only be a test. Regards, George __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From nobody Thu Sep 4 01:10:49 2003 Received: (qmail 29521 invoked from network); 3 Sep 2003 22:03:57 -0000 Received: from unknown (HELO avocet.mail.pas.earthlink.net) (207.217.120.50) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 3 Sep 2003 22:03:57 -0000 Received: from user196.net197.oh.sprint-hsd.net ([65.174.161.196] helo=mycroft.flatmonk.org) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 19ufgw-0007ZL-00 for jsconsole@mozdev.org; Wed, 03 Sep 2003 15:01:30 -0700 Received: from localhost ([127.0.0.1] helo=mycroft.flatmonk.org) by mycroft.flatmonk.org with smtp (Exim 4.05) id 19ufgW-0003G0-00 for jsconsole@mozdev.org; Wed, 03 Sep 2003 17:01:04 -0500 Received: by mycroft.flatmonk.org (sSMTP sendmail emulation); Wed, 3 Sep 2003 17:01:04 -0500 Date: Wed, 3 Sep 2003 17:01:04 -0500 From: chouser@bluweb.com To: jsconsole@mozdev.org Message-ID: <20030903220104.GF19403@mycroft.flatmonk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Face: 6e)>#-'kw@{#T}AQ7t$8"Y8K0o7sujDAG{5/|/jbffhjJ^ kPEjK'c=; sgV%Q6ya`JGd-W|],(TTw{\9f_Dds%D; %MQRY,9Hhy#BRy1cB/6FTnx8D<|0[t(hNCu=, 4>aaaO>V?]`~\YHK*gF List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 22:03:57 -0000 JS Console looks like it would be very to me, so I'm hoping to get it working. I think I'm seeing the same problem as George Levasseur , where the window comes up but nothing actually works. I have strict JavaScript on, so I see a series of warnings when I pick "JS Console" out of the Tools menu: Warning: reference to undefined property this.K Source File: chrome://mozlib/content/lib/js/xpcom/connector.js Line: 14 if(!this.K) this.K = constantSet; Warning: reference to undefined property this.loadSet[url] Source File: chrome://mozlib/content/lib/js/xpcom/scriptloader.js Line: 99 return (this.loadSet[url] == undefined); Warning: assignment to undeclared variable itemNode Source File: chrome://jsconsole/content/gui/js/prefs/controller.js Line: 86 itemNode = popupNode.childNodes.item(i); These are just warnings, but then I get an exception: Error: uncaught exception: [Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: chrome://mozlib/content/lib/js/io/file/instantiator.js :: anonymous :: line 71" data: no] That line appears to be: this.handle = new this.constructor(path); Any idea what's going on? Thanks, --Chris From nobody Thu Sep 4 04:53:26 2003 Received: (qmail 72527 invoked from network); 4 Sep 2003 08:52:53 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.82) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 4 Sep 2003 08:52:53 -0000 Received: (qmail 139942900 invoked by uid 0); 4 Sep 2003 08:50:25 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.149]) (envelope-sender ) by 212.198.2.82 (qmail-ldap-1.03) with SMTP for ; 4 Sep 2003 08:50:25 -0000 Message-ID: <3F56FCD2.5010305@noos.fr> Date: Thu, 04 Sep 2003 10:50:26 +0200 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Jsconsole] Re: Errors running jsconsole 1.1 X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 08:52:53 -0000 Thanks for pointing me those JavaScript strinct warnings. The major bug recently introduced (in Windoz platforms only) has been fixed in a new version posted today. ******* WARNING ******* Before reinstalling JS Console, do the following: -- Quit Mozilla/Firebird; -- Edit the prefs.js file in your Mozilla/Firebird user profile directory removing all lines begining with jsconsole.mozdev. Then install the last JS Console release and go. Daniel From nobody Fri Sep 5 01:23:36 2003 Received: (qmail 57386 invoked from network); 5 Sep 2003 02:48:22 -0000 Received: from unknown (HELO web9701.mail.yahoo.com) (216.136.129.137) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 5 Sep 2003 02:48:22 -0000 Message-ID: <20030905024551.12880.qmail@web9701.mail.yahoo.com> Received: from [66.189.112.153] by web9701.mail.yahoo.com via HTTP; Thu, 04 Sep 2003 19:45:51 PDT Date: Thu, 4 Sep 2003 19:45:51 -0700 (PDT) From: George Levasseur To: jsconsole@mozdev.org In-Reply-To: <3F4D9922.2070306@noos.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Fri, 05 Sep 2003 01:23:36 -0400 Subject: [Jsconsole] Re: Jsconsole post from geolev@yahoo.com requires approval X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 02:48:23 -0000 Hi Daniel, Sorry for the slow turn around. I tried what you suggested and downloaded the latest release. I was not able to find prefs.js anywhere in the mozilla directory structure. Still have the same problem with latest build. Might the fact that I don't have a prefs.js have something to do with it? George > > Hi George, > > There is probably a script error somewhere in JS > Console, when it > launches, but it is not thrown in my environment > (either on Windows or > Linux). So I need more details. > > The fact that none of the contextual menu commands > are working could > mean that this error comes when preferences are > scanned. > So first edit your prefs.js file (in your Mozilla > profile dir) and > delete all lines begining with: > > user_pref("jsconsole.mozdev > > You have to do this when Mozilla is NOT running. > > Reinstall JS Console, once more ;-), and launch it, > then close it and > quit Mozilla (to have a new fresh version of your > prefs.js file). > Go back to your prefs.js file and send me a copy of > the JS Console > preferences branch (all lines begining with > "user_pref("jsconsole.mozdev"). > > I hope I will be able to make a diagnostic. > > Another usefull way to find the error would be to > look at Mozilla > jsconsole dump (from Tools menu) to see if there is > some error report. > If so send it to me. > > Cheers, > > Daniel > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From nobody Fri Sep 5 02:22:01 2003 Received: (qmail 72112 invoked from network); 5 Sep 2003 06:21:29 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.121) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 5 Sep 2003 06:21:29 -0000 Received: (qmail 7119 invoked by uid 0); 5 Sep 2003 06:18:58 -0000 Received: from unknown (HELO noos.fr) ([::ffff:195.132.173.149]) (envelope-sender ) by ::ffff:212.198.2.121 (qmail-ldap-1.03) with SMTP for ; 5 Sep 2003 06:18:58 -0000 Message-ID: <3F582AD4.8010604@noos.fr> Date: Fri, 05 Sep 2003 08:19:00 +0200 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Jsconsole] Re: Jsconsole post from geolev X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 06:21:29 -0000 Hi George, You DO have a prefs.js file (otherwise, Mozilla couldn't work). This file is located in the Mozilla user directory, under the directory of the profile you use. For instance, if you launch Mozilla using the "dev" profile, prefs.js file will have the following path: c:\\windows\Application Data\Mozilla\Profiles\dev\abcdefgh.slt\prefs.js where the "abcdefgh.slt" directory is different for every Mozilla install, so for your install it could be e.g. "zervhdft.slt". You MUST NOT modify prefs.js when Mozilla is running: Mozilla updates it before quiting, so any modification would be lost. You MUST edit this file as indicated in my previous post to have JS Console work correctly: the prefs.js file has wrong paths for the JS Console user and store files prefs and installing a new JS Console release doesn't overwrite the previous prefs. If you don't want to edit this file directly, you have an easy workaround: ************************************************************ Type in the "about:config" URL in the Mozilla location bar. Scroll to the "jsconsole.mozdev.code.url" pref. Clicking this line with the right button, choose the "modify" entry in the context menu displayed. In the input box which pops up, replace the forward slash ("/") before "jsconsoleuser.js" by a double backward slash ("\\") and click OK. Do the same for the "jsconsole.mozdev.store.code.url" pref and the the forward slash before "jsconsolestore.js". ************************************************************ Relaunch JS Console: it will work ;-) Best regards, Daniel From nobody Fri Sep 5 02:22:48 2003 Received: (qmail 72152 invoked from network); 5 Sep 2003 06:22:16 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.80) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 5 Sep 2003 06:22:16 -0000 Received: (qmail 118450107 invoked by uid 0); 5 Sep 2003 06:19:45 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.149]) (envelope-sender ) by 212.198.2.80 (qmail-ldap-1.03) with SMTP for ; 5 Sep 2003 06:19:45 -0000 Message-ID: <3F582B03.2040404@noos.fr> Date: Fri, 05 Sep 2003 08:19:47 +0200 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Jsconsole] Re: Jsconsole post from geolev@yahoo.com requires approval X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 06:22:17 -0000 From nobody Mon Sep 8 01:14:03 2003 Received: (qmail 95518 invoked from network); 7 Sep 2003 13:18:08 -0000 Received: from unknown (HELO web9702.mail.yahoo.com) (216.136.129.138) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 7 Sep 2003 13:18:08 -0000 Message-ID: <20030907131531.12495.qmail@web9702.mail.yahoo.com> Received: from [66.189.112.153] by web9702.mail.yahoo.com via HTTP; Sun, 07 Sep 2003 06:15:31 PDT Date: Sun, 7 Sep 2003 06:15:31 -0700 (PDT) From: George Levasseur To: jsconsole@mozdev.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Mon, 08 Sep 2003 01:14:02 -0400 Subject: [Jsconsole] It worked! X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 13:18:08 -0000 Thanks Daniel, That did the trick! Will now run it through its paces. Thanks for the help. George __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From nobody Mon Sep 8 01:14:03 2003 Received: (qmail 99443 invoked from network); 7 Sep 2003 14:17:37 -0000 Received: from unknown (HELO web9708.mail.yahoo.com) (216.136.128.166) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 7 Sep 2003 14:17:37 -0000 Message-ID: <20030907141500.1180.qmail@web9708.mail.yahoo.com> Received: from [66.189.112.153] by web9708.mail.yahoo.com via HTTP; Sun, 07 Sep 2003 07:15:00 PDT Date: Sun, 7 Sep 2003 07:15:00 -0700 (PDT) From: George Levasseur To: jsconsole@mozdev.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Mon, 08 Sep 2003 01:14:02 -0400 Subject: [Jsconsole] Getting started X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 14:17:37 -0000 Hi Daniel, I'm trying to get started with jsconsole and I guess I don't understand how it is suppose to work. In the Code panel I typed the following code snippet: var str = "Hello world"; __SETOUT__( str ); When I Run it, I get... ************************ 2003-09-07 10:19:55.921 ************************ SyntaxError: syntax error Is there more setup I need to perform? Thanks, George __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From nobody Mon Sep 8 01:28:07 2003 Received: (qmail 60247 invoked from network); 8 Sep 2003 05:27:35 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.76) by mozdev.org.76.206.167.in-addr.arpa with SMTP; 8 Sep 2003 05:27:35 -0000 Received: (qmail 57082582 invoked by uid 0); 8 Sep 2003 05:24:55 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.124]) (envelope-sender ) by 212.198.2.76 (qmail-ldap-1.03) with SMTP for ; 8 Sep 2003 05:24:55 -0000 Message-ID: <3F5C12AA.9050401@noos.fr> Date: Mon, 08 Sep 2003 07:24:58 +0200 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Jsconsole] Re: Getting started X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 05:27:35 -0000 Hi George, No there is no more setup now :-) But there is a nasty Midas bug when pasting functions from JS Console API as you do :-( The workaround (till I find a better way to fix that) is simple: remove the spaces around str to have: __SETOUT__(str); Then it will be correctly evaluated. May be should I remove directly the spaces in the pasting command, but I put them to have the possibility to select the "string_OUTPUT" argument with a double click. This is because if there is no spaces Mozilla select all the function statement, i.e. "__SETOUT__(string_OUTPUT);", which is probably you're not wishing. To get started with JS Console have a look at the Manual (click the question mark button in the window statusbar. You should notably read the Limitation page. Cheers, Daniel From nobody Fri Oct 31 16:58:28 2003 Received: (qmail 18868 invoked from network); 31 Oct 2003 21:57:31 -0000 Received: from unknown (HELO localhost.localdomain) (81.59.153.108) by mozdev.org with SMTP; 31 Oct 2003 21:57:31 -0000 Received: from haitsma.org (PC67148135 [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id h9VLqOGi002363 for ; Fri, 31 Oct 2003 22:52:24 +0100 Message-ID: <3FA2D998.5090801@haitsma.org> Date: Fri, 31 Oct 2003 22:52:24 +0100 From: "Jaap A. Haitsma" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Jsconsole] Installing jsconsole installing on Firebird 0.7 is broken X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 21:57:57 -0000 Installing the jsconsole from the extension menu in Firebird does not work. Mozlib gives an unexpected error -2 and jsconsole.xpi as well Jaap From nobody Tue Nov 4 01:57:46 2003 Received: (qmail 7774 invoked from network); 4 Nov 2003 06:57:13 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.118) by mozdev.org with SMTP; 4 Nov 2003 06:57:13 -0000 Received: (qmail 27060 invoked by uid 0); 4 Nov 2003 06:52:10 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.102]) (envelope-sender ) by 212.198.2.118 (qmail-ldap-1.03) with SMTP for ; 4 Nov 2003 06:52:10 -0000 Message-ID: <3FA74C9F.2040309@noos.fr> Date: Tue, 04 Nov 2003 07:52:15 +0100 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Jsconsole] Re: Installing jsconsole installing on Firebird 0.7 is broken X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 06:57:13 -0000 Hi Jaap, I'd no time to check JS Console installation on the new Firebird release. Thanks to your message, it's done. There is no problem when JS Console is installed on FB 0.7 for the 1st time. However the installation can be broken when installing with a profile you used on a previous FB version. The work around: delete all "jsconsole.mozdev..." preferences in the prefs.js file of your profile (when FB is not running) or editing prefs with about:config URL. Then reinstall JS Console. Let me know if it doesn't work. Daniel From nobody Sun Nov 16 07:38:41 2003 Received: (qmail 35945 invoked from network); 16 Nov 2003 12:38:09 -0000 Received: from unknown (HELO mailout05.sul.t-online.com) (194.25.134.82) by mozdev.org with SMTP; 16 Nov 2003 12:38:09 -0000 Received: from fwd08.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1ALM4q-0005iX-00; Sun, 16 Nov 2003 13:32:28 +0100 Received: from limes.nrubsig.org (SULfWsZdZeQyV9pw43Vaxynjli6ZPRIKZruGN7CBTYJ5gnkbyENIQU@[80.133.186.97]) by fmrl08.sul.t-online.com with esmtp id 1ALM3L-0afHJg0; Sun, 16 Nov 2003 13:30:55 +0100 Received: from meridian.informatik.med.uni-giessen.de (meridian.informatik.med.uni-giessen.de [141.50.42.250]) by limes.nrubsig.org (Postfix) with ESMTP id 8B0F0D727; Sun, 16 Nov 2003 13:30:54 +0100 (CET) Received: from informatik.med.uni-giessen.de (localhost [127.0.0.1]) by meridian.informatik.med.uni-giessen.de (8.11.7+Sun/8.10.2) with ESMTP id hAGCUmD00996; Sun, 16 Nov 2003 13:30:51 +0100 (MET) Sender: gisburn@meridian.informatik.med.uni-giessen.de Message-ID: <3FB76DF8.5702765C@informatik.med.uni-giessen.de> Date: Sun, 16 Nov 2003 13:30:48 +0100 From: Roland Mainz X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: jsconsole@mozdev.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Seen: false X-ID: SULfWsZdZeQyV9pw43Vaxynjli6ZPRIKZruGN7CBTYJ5gnkbyENIQU@t-dialin.net Subject: [Jsconsole] Creating sample XPI which calls a korn shell script at mozilla startup and shutdown X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2003 12:38:09 -0000 Hi! ---- This is slightly offtopic - but maybe someone here knows a way how to implement this: I am looking for a plain, simple sample XPI which does the following thing: 1. On installation time a tar.gz placed within the XPI gets unpacked in the chrome dir 2. On deinstallation time the files created with step [1] will be removed again 3. On Mozilla startup the shell script "start_my_daemon.ksh" is being called 4. On Mozilla shutdown the shell script "kill_my_daemon.ksh" is being called I did not found an example how to do these things in the past... "protozilla" is not what I am looking for, the "mplayer" and "plugger" stuff isn't matching my needs either and even the scripts in "enigmime" and "mng" aren't the stuff I am looking for... ;-( Suggestions/idas VERY welcome... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 2426 901568 FAX +49 2426 901569 (;O/ \/ \O;) From nobody Mon Nov 17 02:24:09 2003 Received: (qmail 90733 invoked from network); 17 Nov 2003 07:23:37 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.122) by mozdev.org with SMTP; 17 Nov 2003 07:23:37 -0000 Received: (qmail 5782 invoked by uid 0); 17 Nov 2003 07:18:05 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.158]) (envelope-sender ) by 212.198.2.122 (qmail-ldap-1.03) with SMTP for ; 17 Nov 2003 07:18:05 -0000 Message-ID: <3FB87639.4030406@noos.fr> Date: Mon, 17 Nov 2003 08:18:17 +0100 From: Fournier Daniel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland Mainz Subject: Re: [Jsconsole] Creating sample XPI which calls a korn shell script at mozilla startup and shutdown References: <3FB76DF8.5702765C@informatik.med.uni-giessen.de> In-Reply-To: <3FB76DF8.5702765C@informatik.med.uni-giessen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: jsconsole@mozdev.org X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 07:23:38 -0000 Hi Roland, Well, its slightly JS Console offtopic, but I'll try to help: Mozdev is a communitity, isn't it? Unfortunatly, XPI as no uninstall method, so uninstalling your extension should be part of standalone process, however it can be implemented using a procedure similar to the one I'll describe here. For the other parts of your problem, it's rather easy, XPCOM nsIProcess is what you need. This component can be used to launch a process, as far as you know where the executable file monitoring the process is located. Mozlib, a standalone XPCOM library which is part of JS Console extension install, has a fine IO_file_processInstantiator JavaScript class you can use to launch any executable file from the local file system. To have a compressed archive untared, write a small shell script to do the job, put it in the XPI and copy it in the directory you want (chrome) using XPInstall File methods (copy). After successful install, at first launch, your extension have to untar your archive: create an IO_file_processInstantiator class instance and let it monitor the execution of your shell script. Then, use the same functionalities to monitor your kshell deamon. For instance, from JS Console extension, the kind of code you need would be: ------------------------------------ __IMPORT__("chrome://mozlib/content/lib/js/io/file/", "process_instantiator.js"); const SCRIPT = '/path/to/your/script.sh'; const SCRIPT_ARGS = ['-x -y -z']; //your script arguments const RUNNING = false; //script process is not yet running var IOProcess = new IO_file_processInstantiator(); IOProcess.set_handle(SCRIPT); IOProcess.setProcess(RUNNING, SCRIPT_ARGS); ------------------------------------ However, all this suppose that you either use a Mozlib copy (its a MPL library) and install it as part of your package, or reproduce the behaviour of the IO_file_processInstantiator class within a JavaScript code of your own (it's not very easy, so why reinvent the wheel?). IO_file_processInstantiator class is located in mozlib/content/lib/js/io/file/process_instantiator.js file. Another thing: this implementation is described as part of a Mozilla extension and when you say "On Mozilla startup/shutdown", I understand on extension startup/shutdown. There's probably a way to do it automatically on Mozilla startup/shutdown, but I'm not sure. For the XPInstall side, have a look at JS Console or Mozlib XPI (from JS Console WebCVS) and their install.js files: they use an XPI_Installer class to monitor the XPInstall methods that can be helpful. XPI files are zip files, so just download one of them and unzip it to look at the install.js file. Let me know if this answer is helpful. Cheers, Daniel From nobody Tue Dec 9 14:10:47 2003 Received: (qmail 65119 invoked from network); 9 Dec 2003 19:09:47 -0000 Received: from unknown (HELO mail-shield1.njit.edu) (128.235.251.171) by mozdev.org with SMTP; 9 Dec 2003 19:09:47 -0000 Received: (from uucp@localhost) by mail-shield1.njit.edu (8.11.6/8.11.6) id hB9J3KA21139 for ; Tue, 9 Dec 2003 14:03:20 -0500 (EST) Received: from nodnsquery(128.235.251.32) by mail-shield1.njit.edu via csmap (V4.1) id srcAAAHgaisP; Tue, 9 Dec 03 14:03:19 -0500 Received: from chrome.njit.edu (chrome.njit.edu [128.235.204.83]) by mail-gw4.njit.edu (8.12.10/8.12.4) with ESMTP id hB9J3Is6017503 for ; Tue, 9 Dec 2003 14:03:18 -0500 (EST) Received: from localhost (lz3@localhost) by chrome.njit.edu (8.12.10/8.12.8/Submit) with ESMTP id hB9J3Iff013215 for ; Tue, 9 Dec 2003 14:03:18 -0500 (EST) Date: Tue, 9 Dec 2003 14:03:18 -0500 (EST) From: li zhang cis student To: jsconsole@mozdev.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [Jsconsole] mozilla certificate for remote applications X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 19:10:01 -0000 Hi, I have a question about using mozilla certificate for remote applications. I'm doing a Web application using Java and Javascript. The Web server I'm using now is apache tomcat 4.1. My application generates html documents dynamically. For example, I have static html files: main.html. Based on the user action from the browser, my application reads the static html file and outputs some text to the static html file then display that on the Mozilla web browser. I want to use some XPConnect functions that Mozilla browser supports, so I put a Javascript function in the main.html file as following: -------------------------------------------------------- function addXptr() { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); var xptrService = Components.classes["@mozilla.org/xpointer-service;1"].getService(); xptrService = xptrService.QueryInterface(Components.interfaces.nsIXPointerService); var xptrString = xptrService.createXPointerFromSelection(window._content.getSelection(), window._content.document); alert(xptrString) } --------------------------------------------------------- I imported a certificate to the Mozilla browser. If I put main.html in a jar (li.jar!/main.html) file, then I can use the XPConnect function. But the problem is, since my application reads the main.html and then modifiy it and then submit this html file to the web browser, the file's content changes, so I don't know how to access the modified html file. Because if I sign the static html file with a certificate, I only can access the static html file, not the changed file. So I wonder is there a way to sign a remote application with dynamic html documents? Can I call XPConnect within a Java application? Thank you very much. Li Zhang _______________________________________________ mozilla-xml mailing list mozilla-xml@mozilla.org http://mail.mozilla.org/listinfo/mozilla-xml From nobody Fri Dec 12 11:38:25 2003 Received: (qmail 25557 invoked from network); 12 Dec 2003 16:37:51 -0000 Received: from unknown (HELO mail-shield2.njit.edu) (128.235.251.172) by mozdev.org with SMTP; 12 Dec 2003 16:37:51 -0000 Received: (from uucp@localhost) by mail-shield2.njit.edu (8.11.6/8.11.6) id hBCGVMA01595; Fri, 12 Dec 2003 11:31:22 -0500 (EST) Received: from nodnsquery(128.235.251.173) by mail-shield2.njit.edu via csmap (V4.1) id srcAAAxAaihd; Fri, 12 Dec 03 11:31:21 -0500 Received: from chrome.njit.edu (chrome.njit.edu [128.235.204.83]) by mail-gw5.njit.edu (8.12.10/8.12.4) with ESMTP id hBCGVLc1002904; Fri, 12 Dec 2003 11:31:21 -0500 (EST) Received: from localhost (lz3@localhost) by chrome.njit.edu (8.12.10/8.12.8/Submit) with ESMTP id hBCGVLPL008534; Fri, 12 Dec 2003 11:31:21 -0500 (EST) Date: Fri, 12 Dec 2003 11:31:21 -0500 (EST) From: li zhang cis student To: sdk@mozdev.org, java@mozdev.org, jsconsole@mozdev.org, pyxpcom@mozdev.org, objcxpcom@mozdev.org, xulbill@mozdev.org, xulbuilder@mozdev.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: [Jsconsole] xpointer service -- HELP NEEDED! X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 16:37:52 -0000 Hi, Did anybody ever use xpointer server in mozilla browser? I have problem to use netscape.security.PrivilegeManager.enablePriviege("UniversalXPconnect"); So I can not use mozilla's xpointer service? Can anybody tell me how to solve this? Thanks! Li From nobody Tue Feb 24 01:09:39 2004 Received: (qmail 49711 invoked from network); 23 Feb 2004 17:29:33 -0000 Received: from unknown (HELO filer2.rit.edu) (129.21.2.226) by mozdev.org with SMTP; 23 Feb 2004 17:29:33 -0000 Received: from libre.rh.rit.edu (libre.rh.rit.edu [129.21.101.150]) by osfmail.rit.edu (PMDF V6.1-1X6 #30661) with ESMTPA id <0HTJ00833S52BO@osfmail.rit.edu> for jsconsole@mozdev.org; Mon, 23 Feb 2004 12:19:56 -0500 (EST) Date: Mon, 23 Feb 2004 12:20:05 -0500 From: Luke Stodola To: jsconsole@mozdev.org Message-id: <1077556804.13812.2.camel@libre.rh.rit.edu> Organization: dxdt.org MIME-version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Content-type: text/plain Content-transfer-encoding: 7BIT X-Mailman-Approved-At: Tue, 24 Feb 2004 01:09:17 -0500 Subject: [Jsconsole] Does not install: Unexpected error -2 X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 17:29:36 -0000 When I try to install jsconsole on Mozilla Firebird 0.7 I get a " Unexpected error -2" for both Mozilla library and JS Console. I'm using the official Debian package on Debian GNU/Linux (sid), i386. If you want me to test something or to be more specific about my setup, let me know. Luke Stodola. From nobody Fri Mar 19 06:20:44 2004 Received: (qmail 53956 invoked from network); 19 Mar 2004 11:20:12 -0000 Received: from unknown (HELO web12826.mail.yahoo.com) (216.136.174.207) by mozdev.org with SMTP; 19 Mar 2004 11:20:12 -0000 Message-ID: <20040319110939.81961.qmail@web12826.mail.yahoo.com> Received: from [202.163.95.196] by web12826.mail.yahoo.com via HTTP; Fri, 19 Mar 2004 03:09:39 PST Date: Fri, 19 Mar 2004 03:09:39 -0800 (PST) From: Simon Brown To: jsconsole@mozdev.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Jsconsole] File IO in JS Console, Help! X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: flowinlife@hotmail.com List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 11:20:12 -0000 Hi, I am trying to create a file and put some content in it, this is what i am doing... __IMPORT__( "chrome://mozlib/content/lib/js/io/file/", "file_instantiator.js" ); var IOFile = new IO_file_fileInstantiator(); IOFile.set_handle("Phoenix\test.txt"); IOFile.setOut("test"); IOFile.set_handle(); i've tried giving path in various ways like c:\\path, chrome://path etc... but i am getting this error: [Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: chrome://mozlib/content/lib/js/io/file/instantiator.js :: anonymous :: line 72" data: no] Please guide me to the correct way of doing this... thanks! __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com From nobody Fri Mar 19 12:01:51 2004 Received: (qmail 80333 invoked from network); 19 Mar 2004 17:00:51 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.120) by mozdev.org with SMTP; 19 Mar 2004 17:00:51 -0000 Received: (qmail 18648 invoked by uid 0); 19 Mar 2004 16:50:03 -0000 Received: from unknown (HELO noos.fr) ([195.132.173.177]) (envelope-sender ) by 212.198.2.120 (qmail-ldap-1.03) with SMTP for ; 19 Mar 2004 16:50:03 -0000 Message-ID: <405B24C6.2020409@noos.fr> Date: Fri, 19 Mar 2004 17:50:14 +0100 From: Daniel Fournier User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 MultiZilla/1.6.0.0e X-Accept-Language: en-us, en MIME-Version: 1.0 To: flowinlife@hotmail.com Subject: Re: [Jsconsole] File IO in JS Console, Help! References: <20040319110939.81961.qmail@web12826.mail.yahoo.com> In-Reply-To: <20040319110939.81961.qmail@web12826.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: jsconsole@mozdev.org X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: dfour@noos.fr List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 17:00:53 -0000 Simon Brown wrote: > Hi, > > I am trying to create a file and put some content in > it, this is what i am doing... > > __IMPORT__( "chrome://mozlib/content/lib/js/io/file/", > "file_instantiator.js" ); > var IOFile = new IO_file_fileInstantiator(); > IOFile.set_handle("Phoenix\test.txt"); > IOFile.setOut("test"); > IOFile.set_handle(); > > i've tried giving path in various ways like c:\\path, > chrome://path etc... but i am getting this error: > > [Exception... "Component returned failure code: > 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) > [nsILocalFile.initWithPath]" nsresult: "0x80520001 > (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame > :: > chrome://mozlib/content/lib/js/io/file/instantiator.js > :: anonymous :: line 72" data: no] > > Please guide me to the correct way of doing this... thanks! > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - More reliable, more storage, less spam > http://mail.yahoo.com > _______________________________________________ > Jsconsole mailing list > Jsconsole@mozdev.org > http://mozdev.org/mailman/listinfo/jsconsole > IO_file_fileInstantiator::setHandle method arguments are: 1. integer constant: file type (directory or file) -- use IOFile.K.DIR_INSTANCE (1) for a directory and IOFile.K.FILE_INSTANCE (0) for a file; 2. string: local file system absolute path or chrome path (if the file is located in a chrome registered package) -- omitted to close the file handle; 3. integer: file permissions code (ala Unix) -- optional. Your call raises an exception because the 1st (mandatory) argument is missing. Have a look at setHandle method code in: chrome://mozlib/content/lib/js/io/file/instantiator.js at line 58 Daniel Fournier From nobody Wed Feb 23 01:16:46 2005 Received: (qmail 61421 invoked from network); 22 Feb 2005 10:20:37 -0000 Received: from tiberius.hq.synnet.ag (217.119.50.57) by mozdev.org with SMTP; 22 Feb 2005 10:20:37 -0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Tue, 22 Feb 2005 11:15:41 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How can I change the popup behavior of the Jconsole? Thread-Index: AcUYx3aIDDVwrgdaQIW28TX/cEgK9Q== From: To: X-Mailman-Approved-At: Wed, 23 Feb 2005 01:15:44 -0500 Subject: [Jsconsole] How can I change the popup behavior of the Jconsole? X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 10:20:39 -0000 Hi, =20 I've installed the Jsconsole. Now, when I develop a site the GUI of the Jsconsole always pops up on reloading the site. How can I change that behavior to check sites on demand and not always, because I'm tired of closing the GUI all the time, when I don't need it? Apart from that I've tried to uninstall the Jsconsole and I can't find a way to do it. How is it possible to uninstall it? Best regards Stefan. From nobody Wed Feb 23 01:46:15 2005 Received: (qmail 45715 invoked from network); 23 Feb 2005 06:43:14 -0000 Received: from pm-mx5.mgn.net (HELO pm-mx5.mx.noos.fr) (195.46.220.209) by mozdev.org with SMTP; 23 Feb 2005 06:43:14 -0000 Received: from [81.65.77.56] (m56.net81-65-77.noos.fr [81.65.77.56]) by pm-mx5.mx.noos.fr (Postfix) with ESMTP id 5132426972 for ; Wed, 23 Feb 2005 07:38:18 +0100 (MET) Message-ID: <421C2473.2090107@noos.fr> Date: Wed, 23 Feb 2005 07:36:35 +0100 From: Daniel Fournier User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Subject: Re: [Jsconsole] How can I change the popup behavior of the Jconsole? Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 06:43:14 -0000 Hi Stefan, Do you mean that each time you use the reload button (or menu item) JS Console pops up in front? If it is, this is not a peculiar behaviour of JS Console extension: you should verify your configuration. In my case (using JS Console almost every day), I never noticed such a behaviour and actually I don't see what could explain it in my code. About uninstalling JS Console, there is no way to do it easily: that's a lack of Mozilla extension, not specifically mine. To do it manually, first remove the jsconsole directory installed in your chrome directory and remove the following lines from /chrome/installed-chrome.txt file: content,install,url,resource:/chrome/mozlib/content/ locale,install,url,resource:/chrome/mozlib/locale/en-US/ skin,install,url,resource:/chrome/mozlib/skin/ content,install,url,resource:/chrome/jsconsole/content/ locale,install,url,resource:/chrome/jsconsole/locale/en-US/ skin,install,url,resource:/chrome/jsconsole/skin/ and remove the following lines from /chrome/chrome.rdf file: Take care to edit these files when Mozilla is NOT running. Then JS Console should be removed. Regards, Daniel Fournier From nobody Fri Apr 1 11:21:55 2005 Received: (qmail 51717 invoked from network); 1 Apr 2005 16:21:17 -0000 Received: from fed1rmmtai14.cox.net (68.230.241.45) by mozdev.org with SMTP; 1 Apr 2005 16:21:17 -0000 Received: from [127.0.0.1] (really [68.108.192.189]) by fed1rmmtao01.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050401151545.KYCR9923.fed1rmmtao01.cox.net@[127.0.0.1]> for ; Fri, 1 Apr 2005 10:15:45 -0500 Message-ID: <424D659E.2050906@cox.net> Date: Fri, 01 Apr 2005 08:15:42 -0700 From: Roger User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Jsconsole] Getting Started X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 16:21:18 -0000 Hi, I have read the docs, installed the JSConsole package, and have run a few succesful tests from the Quick Start. But I need an example or two of how this tool is intended to be used. My first thought was to load my test web page that loads a .js file with several new functions in need of testing. I expected to click on the FireFox Tools-JSConsole menu and have JSConsole come up knowing about my web page and the loaded Javascript files. This doesn't seem to happen. JSConsole seems to want me to load the .js file, add some unit test code at the end, and then right-click, and choose run, and then look for error/success results in the Unit Test tab. However, I do not understand how my Javascript functions can access the HTML form text fields, radio buttons, etc. embedded in my web page. Also, how can I change the values of a web-page text field within my unit test. A useful example for me would be to test a text field to verify a user entered an integer. So if my web-page had something like: Obviously I could test by passing an integer or non-integer strings and get results. But Javascript functions are often more complicated and access multiple form inputs. So is the idea to refactor Javascript code and test without accessing form inputs, and then write "simple" wrapper functions to gather form data and/or update form data? So I would write a wrapper for checkInt that looked like: function callCheckInt(this) {return checkInt(this.value);} and then rewrite the onBlur to onBlur="return callCheckInt(this)" Am I correct in that JSConsole knows nothing about the web page loaded at the time it is started? Finally, is there a way to write and leave the test cases in the .js file? Something like: function a..... function b..... function c.... testcase1... testcase2... testcase3... Or do you just comment the test cases out? Roger Haase From nobody Mon Apr 4 10:48:26 2005 Received: (qmail 90660 invoked from network); 4 Apr 2005 14:47:49 -0000 Received: from pm-mx5.mgn.net (HELO pm-mx5.mx.noos.fr) (195.46.220.209) by mozdev.org with SMTP; 4 Apr 2005 14:47:49 -0000 Received: from [81.65.166.125] (m125.net81-65-166.noos.fr [81.65.166.125]) by pm-mx5.mx.noos.fr (Postfix) with ESMTP id DA36026B99 for ; Mon, 4 Apr 2005 16:41:19 +0200 (MEST) Message-ID: <425151AD.8010401@noos.fr> Date: Mon, 04 Apr 2005 16:39:41 +0200 From: Daniel Fournier User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Subject: [Jsconsole] Getting Started Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 14:47:50 -0000 Hi, Unfortunately, JS Console doesn't run JS embedded in HTML pages. It has been developped to run standalone JS files. You have to consider that input from your web page(s) are only input data. So just define a set of JS variables corresponding to samples of data that your web page user can input and test that set of variables with your validating functions. In my opinion it's a good practice to decouple your JS logic and your your JS data input from HTML forms, using an intermediate function. That way, when you change something in the user interface (HTML forms), you just have to make corresponding adjustment in the intermediate functions, the main logic beeing as generic as possible. > > Am I correct in that JSConsole knows nothing about the web page loaded > at the time it is started? Quite true. > > Finally, is there a way to write and leave the test cases in the .js > file? Something like: > It depends whether you want to take advantage of the unit testing framework or not. If you do, then just define a boolean global variable that you set to true when you want to have the unit tests run, or false otherwise. Any ASSERT function takes an argument to decide whether the unit test have to be run (see Unit testing doc), then passing your global variable as this argument, you can either run every ASSERT function you have inserted in your code, or bypass all (you can also combine this global variable with a specific boolean variable that would enable or not the asserting function). But if you don't want to use the testing framework, then just surround your test cases with a conditional construct to run or not run them. For instance: if (true) //change to false to skip all tests { testcase1(arg0, arg1); testcase2(arg0, arg1); } You can also have a more fine grain testing, isolating one or several test cases within conditional constructs. There's a third way, my prefered. Just isolate all your testing functions in a specific file and import your "real" functions within it, using the __IMPORT__ function. That way, everything is clean and easy to modify and when your code is ready, you don't have to load the testing file and you avoid a (slight) processing overhead for the JS parsing engine. Daniel Fournier From nobody Mon Apr 4 13:18:22 2005 Received: (qmail 10059 invoked from network); 4 Apr 2005 17:17:42 -0000 Received: from fed1rmmtao05.cox.net (68.230.241.34) by mozdev.org with SMTP; 4 Apr 2005 17:17:42 -0000 Received: from [127.0.0.1] (really [68.108.192.189]) by fed1rmmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050404171110.XLK7956.fed1rmmtao05.cox.net@[127.0.0.1]> for ; Mon, 4 Apr 2005 13:11:10 -0400 Message-ID: <4251752D.9030207@cox.net> Date: Mon, 04 Apr 2005 10:11:09 -0700 From: Roger User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 CC: jsconsole@mozdev.org Subject: Re: [Jsconsole] Getting Started References: <425151AD.8010401@noos.fr> In-Reply-To: <425151AD.8010401@noos.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 17:17:42 -0000 Daniel Fournier wrote: > > There's a third way, my prefered. Just isolate all your testing > functions in a specific file and import your "real" functions within > it, using the __IMPORT__ function. That way, everything is clean and > easy to modify and when your code is ready, you don't have to load the > testing file and you avoid a (slight) processing overhead for the JS > parsing engine. > > > Perfect. That will be a considerable improvement over what I have been doing. I am looking forward to writing more Javascript code. I am a Python bigot and have really hated dealing with the curly braces and semi-colons of Javascript. Roger Haase From nobody Sun Apr 10 12:05:33 2005 Received: (qmail 62428 invoked from network); 10 Apr 2005 16:03:13 -0000 Received: from fed1rmmtao10.cox.net (68.230.241.29) by mozdev.org with SMTP; 10 Apr 2005 16:03:13 -0000 Received: from [127.0.0.1] (really [68.108.192.189]) by fed1rmmtao10.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050410155624.ZXRC2123.fed1rmmtao10.cox.net@[127.0.0.1]> for ; Sun, 10 Apr 2005 11:56:24 -0400 Message-ID: <42594CA5.1090505@cox.net> Date: Sun, 10 Apr 2005 08:56:21 -0700 From: Roger User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Subject: Re: [Jsconsole] Getting Started References: <425151AD.8010401@noos.fr> <4251752D.9030207@cox.net> <42521E11.6060102@noos.fr> In-Reply-To: <42521E11.6060102@noos.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 16:03:14 -0000 Daniel Fournier wrote: > > I understand your point of view. Although I never really wrote any > program using Python, I extensively learned it. I like very much > Python, which is, IMHO, the best scripting language of our days. > > As a matter of fact, I recently tried to apply Python coding style to > JavaScript, in a library of functions I developped, aiming to use JS > in a functional programming way. Here is an example of this style: > > ------------------------------------------------------------------------------------------------------------------------------------------------------------- > > String.prototype.getLastToFirst = function > //StringpublicReverse string characters > () > { if (this.isEmpty()) > { return this.getDefault(); //trying > to set an empty String yields nothing > } var string = ''; > /*String*/ > for (var i=this.length-1, m=0; i>=m; i--) > { string += this.charAt(i); > } return string; > }; > //getLastToFirst > ------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > I'd like to know whether this style is "acceptable" by a Python > programmer. > > This is an extract of a library extending JS built-in types (String, > Number, Array...) with useful methods (about 200) with a functional > programming horizon. Let me know whether you are interested by such a > library: I'll send you a copy of it. > Of course, it has been developped using extensively JS Console, and > each type package (it's a Python vocable, isn't it?) has its own test > file. > > Converting from a Python coding style to Javascript is not something that comes natural. I have been influenced by Javascript Lint (the add-on to HTML-Kit). Javascript Lint does not like lines that end with ")" and demands a ";" at the end of every statement. Per the Python coding style guidlines by Guido van Rossum, Python code is pretty dense. I find the use of the closing curly brace on a line by itself very annoying, and I stick them on the end of the preceeding line. So taking a random routine from Paul Johnston's SHA-1 as an example, here is the before: ------------------------------------ /* * Calculate the HMAC-SHA1 of a key and some data */ function core_hmac_sha1(key, data) { var bkey = str2binb(key); if(bkey.length > 16) bkey = core_sha1(bkey, key.length * chrsz); var ipad = Array(16), opad = Array(16); for(var i = 0; i < 16; i++) { ipad[i] = bkey[i] ^ 0x36363636; opad[i] = bkey[i] ^ 0x5C5C5C5C; } var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz); return core_sha1(opad.concat(hash), 512 + 160); } ------------------------------ And my after which passes Javascript Lint. "i++" replaced with "i+=1" and an extra pair of braces in the if statement. -------------------------------- // Calculate the HMAC-SHA1 of a key and some data function core_hmac_sha1(key, data) { var bkey = str2binb(key); if(bkey.length > 16) { bkey = core_sha1(bkey, key.length * chrsz); } var ipad = Array(16), opad = Array(16); for(var i = 0; i < 16; i+=1) { ipad[i] = bkey[i] ^ 0x36363636; opad[i] = bkey[i] ^ 0x5C5C5C5C; } var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz); return core_sha1(opad.concat(hash), 512 + 160); } ---------------------------------- Roger Haase From nobody Tue Oct 25 13:15:41 2005 Received: (qmail 14263 invoked from network); 25 Oct 2005 17:14:29 -0000 Received: from mail.pointinspace.com (69.84.139.10) by mozdev.org with SMTP; 25 Oct 2005 17:14:29 -0000 Received: from [10.0.1.17] (24.218.14.136) by mail.pointinspace.com with ESMTP (Eudora Internet Mail Server X 3.2.7) for ; Tue, 25 Oct 2005 10:14:29 -0700 Mime-Version: 1.0 (Apple Message framework v734) Content-Transfer-Encoding: 7bit Message-Id: <55C92F76-3DC7-437C-A56C-B95CAFD088CC@vacationhomezone.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: jsconsole@mozdev.org From: Vacation Home Zone Date: Tue, 25 Oct 2005 13:14:26 -0400 X-Mailer: Apple Mail (2.734) Subject: [Jsconsole] Uninstall X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2005 17:15:07 -0000 I have JSConsole installed with FireFox 1.0.4 on Mac OS X 10.4.2. How do I uninstall JSConsole? Alternatively, how do I disable it? Thanks, Jeff From nobody Wed Oct 26 01:37:03 2005 Received: (qmail 27540 invoked from network); 26 Oct 2005 05:36:31 -0000 Received: from pm-mx5.mgn.net (HELO pm-mx5.mx.noos.fr) (195.46.220.209) by mozdev.org with SMTP; 26 Oct 2005 05:36:31 -0000 Received: from [81.65.166.152] (m152.net81-65-166.noos.fr [81.65.166.152]) by pm-mx5.mx.noos.fr (Postfix) with ESMTP id A4CBD26B5A for ; Wed, 26 Oct 2005 07:36:01 +0200 (MEST) Message-ID: <435F157C.1090900@noos.fr> Date: Wed, 26 Oct 2005 07:34:52 +0200 From: Daniel Fournier User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Subject: RE: [Jsconsole] Uninstall Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 05:36:31 -0000 There's no uninstall process for Mozilla/Firefox extensions. You have to manually remove the directory of the extension whici is located inside the chrome directory and clear the lines for this extension in the installed-chrome.txt file located in the chrome directory. Do that when Mozilla/Firefox is not running. Daniel From nobody Wed Oct 26 02:25:37 2005 Received: (qmail 35115 invoked from network); 26 Oct 2005 06:25:04 -0000 Received: from mail.pointinspace.com (69.84.139.10) by mozdev.org with SMTP; 26 Oct 2005 06:25:04 -0000 Received: from [10.0.1.17] (24.218.14.136) by mail.pointinspace.com with ESMTP (Eudora Internet Mail Server X 3.2.7) for ; Tue, 25 Oct 2005 23:25:04 -0700 Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: <435F157C.1090900@noos.fr> References: <435F157C.1090900@noos.fr> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9C674361-0CC3-46D7-8E90-F2B61F49FF36@vacationhomezone.com> Content-Transfer-Encoding: 7bit From: Vacation Home Zone Subject: Re: [Jsconsole] Uninstall Date: Wed, 26 Oct 2005 02:25:03 -0400 To: jsconsole@mozdev.org X-Mailer: Apple Mail (2.734) X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 06:25:04 -0000 Daniel, Thank you, I appreciate your response. I have found chrome directories for all of the other Firefox extensions on my system, but I cannot find one for JS Console. Nor can I find the installed-chrome.txt file. JSConsole is active on my system and I do have the following files: installed-extensions.txt jsconsolestore.rdf jsconsoleuser.js I am a bit confused when you say "There's no uninstall process for Mozilla/Firefox extensions". JSConsole is the first Firefox extension that I have encountered that does not have an uninstall process. To uninstall any other Firefox extension, I just open the Extensions window, click the extension and then click the X icon on the bottom toolbar of the Extensions window. JSConsole does not appear in the Firefox Extensions window. -- Jeff On Oct 26, 2005, at 1:34 AM, Daniel Fournier wrote: > There's no uninstall process for Mozilla/Firefox extensions. > > You have to manually remove the directory of the extension whici is > located inside the > chrome directory and clear the lines for this extension in the > installed-chrome.txt file located in the chrome directory. > > Do that when Mozilla/Firefox is not running. > > Daniel > _______________________________________________ > Jsconsole mailing list > Jsconsole@mozdev.org > http://mozdev.org/mailman/listinfo/jsconsole > From nobody Thu Oct 27 01:14:32 2005 Received: (qmail 86309 invoked from network); 27 Oct 2005 05:13:59 -0000 Received: from pm-mx5.mgn.net (HELO pm-mx5.mx.noos.fr) (195.46.220.209) by mozdev.org with SMTP; 27 Oct 2005 05:13:59 -0000 Received: from [81.65.166.152] (m152.net81-65-166.noos.fr [81.65.166.152]) by pm-mx5.mx.noos.fr (Postfix) with ESMTP id C193426BD7 for ; Thu, 27 Oct 2005 07:13:32 +0200 (MEST) Message-ID: <436061B7.1090505@noos.fr> Date: Thu, 27 Oct 2005 07:12:23 +0200 From: Daniel Fournier User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jsconsole@mozdev.org Subject: Re: [Jsconsole] Uninstall Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 05:13:59 -0000 JS Console is a bit old and was developed before Firefox provided an uninstall process. Actually, I use it only with Mozilla (1.7.3), not with Firefox since version 0.9, because I never made the necessary modifications to be compliant with the new extension installation process of Firefox 1.0+, therefore JS Console doesn't appear in Firefox extension window ;-( Nevertheless, you should find a "jsconsole" directory within your firefox/chrome dir that you can remove, as well as the other files you found. installed-chrome.txt is there too, at least it is in my Firefox 1.0.7 version. The lines you have to remove are: content,install,url,resource:/chrome/mozlib/content/ locale,install,url,resource:/chrome/mozlib/locale/en-US/ skin,install,url,resource:/chrome/mozlib/skin/ content,install,url,resource:/chrome/jsconsole/content/ locale,install,url,resource:/chrome/jsconsole/locale/en-US/ skin,install,url,resource:/chrome/jsconsole/skin/ Daniel From wlaver@gmail.com Sat Aug 23 11:20:29 2008 Return-Path: X-Original-To: jsconsole@mozdev.org Delivered-To: jsconsole@mozdev.org Received: from localhost (localhost [127.0.0.1]) by mozdev.mozdev.org (Postfix) with ESMTP id 8E128845F9 for ; Sat, 23 Aug 2008 11:20:29 -0700 (PDT) X-Virus-Scanned: amavisd-new at mozdev.org Received: from mozdev.mozdev.org ([127.0.0.1]) by localhost (mozdev.mozdev.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JZg3yN4Y0Dq4 for ; Sat, 23 Aug 2008 11:20:24 -0700 (PDT) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mozdev.mozdev.org (Postfix) with ESMTP id D5EB5845FE for ; Sat, 23 Aug 2008 11:20:23 -0700 (PDT) Received: by rv-out-0506.google.com with SMTP id l9so794488rvb.47 for ; Sat, 23 Aug 2008 11:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=QDCvyvrgOClO1F6o2YAuQkew5dvDU7DmmMNzS8pf7Cc=; b=r5njvuEMwZazTcBBcjVEURwYpV8eTboZ9lEF9vcbEaRq8MfCPkleLyjOqPe6Q1DwXQ C5slp99OKKahX8ePOfEek0ZLCN/G+JvbgG0UWEUFirXH8zxZpdfbE5TdTZhXz4PtSDjI I7JiHU/DgRQks29lBE8babV/gcck3EzRRIOIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kVGOBX77ZxeB6PWx33JYJiS4UJWRprTljEBNK9Xq47LyJBH+QCUePzqfN16Uf5fxD+ RWCuEAV29PZAxiDI9wxJcE79cJJ1s85JZ6mjodzLIpjkmdI53SIHVU2UFsqLkYTHJShn iySE0MFeOqJxS9I65IRQa9Ry4iIdk2uwVt0YI= Received: by 10.141.74.17 with SMTP id b17mr1236607rvl.119.1219515622758; Sat, 23 Aug 2008 11:20:22 -0700 (PDT) Received: by 10.140.165.19 with HTTP; Sat, 23 Aug 2008 11:20:22 -0700 (PDT) Message-ID: <58f1e1280808231120l2a04639co3140928728199dda@mail.gmail.com> Date: Sat, 23 Aug 2008 12:20:22 -0600 From: "Mike Buckley" To: jsconsole@mozdev.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_42151_26238619.1219515622749" Subject: [Jsconsole] Firefox 3? X-BeenThere: jsconsole@mozdev.org X-Mailman-Version: 2.1.10 Precedence: list List-Id: JavaScript Console List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2008 18:20:29 -0000 ------=_Part_42151_26238619.1219515622749 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, First post to this mailing list. I am interested in using jsconsole to test my firefox extension pixel perfect. I installed the xpi(s), and restarted Firefox, but I see nothing in the tools menu, and cannot find any menu for jsconsole. Is it supported in FF 3+? Thanks, Mike ------=_Part_42151_26238619.1219515622749 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,
 First post to this mailing list. I am interested in using jsconsole to test my firefox extension pixel perfect. I installed the xpi(s), and restarted Firefox, but I see nothing in the tools menu, and cannot find any menu for jsconsole. Is it supported in FF 3+?


Thanks,

Mike
------=_Part_42151_26238619.1219515622749--