title: HTMLElement.toString() only works in Chrome
body: <p>I have found an error in FireFox and Opera.(I'm running Debian Whezee, Firefox 9.0.1, Opera 11.60, Chrome 16.0.912.63)
  When you type something like this:</p>
  
  <pre><code>var a = document.createElement('a')
  a.toString = function(){ return "Hello" }
  alert(a+" World");
  </code></pre>
  
  <p>In Chrome you will get alert box with "Hello World" as you expect, but in firefox and opera (don't know about IE) you get something like this "[object HTMLElement] World"</p>
  
  <p>What I've tried to solve this:</p>
  
  <pre><code>Object.prototype.toString = function(){ return "Hello" };
  Function.prototype.toString = function(){ return "Hello" };
  </code></pre>
  
  <p>It doesn't work Because DOM elements are not Object (don't inherits from Object and therefor Function) and even this didn't help:</p>
  
  <pre><code>HTMLElement.prototype.toString = function(){ return "Hello" };
  Element.prototype.toString = function(){ return "Hello" };
  Node.prototype.toString = function(){ return "Hello" };
  </code></pre>
  
  <p>Because HTMLElement, Element, Node are all interfaces and not functions.</p>
  
  <p>Now my question is where to report this mistake? Can someone help me with this?</p>
  
  <p><strong>//Edit</strong></p>
  
  <p>This is my original toString function:</p>
  
  <pre><code>var a = document.createElement('a');
  a.toString = function(){
      var tmp=document.createElement('div');
      tmp.appendChild(this);
      return tmp.innerHTML;
  }
  </code></pre>
  
  <p>As you can see this is alternative to outerHTML and I need this as a default behavior in following line</p>
  
  <pre><code>document.getElemntById('someID').innerHTML += "click this link:"+a;
  </code></pre>
  
  <p>The result should be like this:</p>
  
  <pre><code>&lt;div id='someID'&gt;click this link:&lt;a&gt;&lt;/a&gt;&lt;/div&gt;
  </code></pre>