Thanks for the link Rahul, the new console should be helpful, but it doesn't fix my problem,
I still get a lot of noise, and they don't seem to be trivial CSS problems. Is this common, should I be worried?
here are all the warnings from the console:
Warning: test for equality (==) mistyped as assignment (=)?
Source file: http://localhost/test/js/prototype.js
Line: 243, Column: 60
Source code:
      if (result = !!(iterator || Prototype.K)(value, index))
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/prototype.js
Line: 696, Column: 2
Source code:
  },
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/prototype.js
Line: 702, Column: 2
Source code:
  },
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/prototype.js
Line: 710, Column: 2
Source code:
  },
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/prototype.js
Line: 896, Column: 57
Source code:
    return Element.classNames(element).include(className);
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/prototype.js
Line: 901, Column: 53
Source code:
    return Element.classNames(element).add(className);
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/prototype.js
Line: 906, Column: 56
Source code:
    return Element.classNames(element).remove(className);
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/prototype.js
Line: 1274, Column: 18
Source code:
      }).join('&');
 ----------
Warning: variable element hides argument
Source file: http://localhost/test/js/prototype.js
Line: 1525, Column: 8
Source code:
    var element = $(element);
 ----------
Warning: variable element hides argument
Source file: http://localhost/test/js/prototype.js
Line: 1537, Column: 8
Source code:
    var element = $(element);
 ----------
Warning: test for equality (==) mistyped as assignment (=)?
Source file: http://localhost/test/js/prototype.js
Line: 1680, Column: 43
Source code:
    } while (element = element.offsetParent);
 ----------
Warning: test for equality (==) mistyped as assignment (=)?
Source file: http://localhost/test/js/prototype.js
Line: 1686, Column: 41
Source code:
    } while (element = element.parentNode);
 ----------
Warning: assignment to undeclared variable ObjectRange
Source file: http://localhost/test/js/prototype.js
Line: 519
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/builder.js
Line: 73, Column: 19
Source code:
     return element;
 ----------
Warning: test for equality (==) mistyped as assignment (=)?
Source file: http://localhost/test/js/effects.js
Line: 54, Column: 52
Source code:
  if (opacity = Element.getStyle(element, 'opacity'))  
 ----------
Warning: test for equality (==) mistyped as assignment (=)?
Source file: http://localhost/test/js/effects.js
Line: 56, Column: 90
Source code:
  if (opacity = (Element.getStyle(element, 'filter') || '').match(/alpha\(opacity=(.*)\)/))  
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 533, Column: 42
Source code:
  afterFinishInternal: function(effect) { with(Element) { 
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 545, Column: 34
Source code:
  beforeSetup: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 560, Column: 46
Source code:
      beforeSetupInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 562, Column: 46
Source code:
      afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 576, Column: 46
Source code:
      afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 592, Column: 37
Source code:
      afterSetup: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 597, Column: 46
Source code:
      afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 616, Column: 40
Source code:
        beforeSetup: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 619, Column: 48
Source code:
        afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 639, Column: 40
Source code:
        beforeSetup: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 641, Column: 48
Source code:
        afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 663, Column: 77
Source code:
     { x: -20, y: 0, duration: 0.05, afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 681, Column: 35
Source code:
    afterSetup: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 688, Column: 44
Source code:
    afterUpdateInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 691, Column: 44
Source code:
    afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 710, Column: 44
Source code:
    beforeStartInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 716, Column: 44
Source code:
    afterUpdateInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 719, Column: 44
Source code:
    afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 732, Column: 38
Source code:
      beforeSetup: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 734, Column: 46
Source code:
      afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 791, Column: 36
Source code:
    beforeSetup: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 804, Column: 45
Source code:
             beforeSetup: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 807, Column: 53
Source code:
             afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 861, Column: 49
Source code:
         beforeStartInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 863, Column: 49
Source code:
         afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: deprecated with statement usage
Source file: http://localhost/test/js/effects.js
Line: 898, Column: 46
Source code:
      afterFinishInternal: function(effect) { with(Element) {
 ----------
Warning: anonymous function does not always return a value
Source file: http://localhost/test/js/controls.js
Line: 532, Column: 16
Source code:
    return false;



On 12/28/05, Rahul Bhargava <[EMAIL PROTECTED]> wrote:

Yeah,

The CSS debug message are nice, but you probably want to install this console replacement:

 

http://forums.mozillazine.org/viewtopic.php?t=318102

 

Very useful.

 

rahul

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brian Peiris
Sent: Wednesday, December 28, 2005 12:51 AM
To: [email protected]
Subject: [Rails-spinoffs] Sudden _javascript_ Console noise in firefox

 

I have been using the latest version of Firefox and Scriptaculous for about a week now, with no problems.
Now I get a lot of noise in the _javascript_ console out of the blue:
http://img481.imageshack.us/img481/7913/screen4nt.jpg


--
============================
Brian Peiris
Brampton, Ontario, Canada
[EMAIL PROTECTED] or [EMAIL PROTECTED]
============================


_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs





--
============================
Brian Peiris
Brampton, Ontario, Canada
[EMAIL PROTECTED] or [EMAIL PROTECTED]
============================
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to