title: troubles trying to parse an html string with DOMParser
body: <p>here's come the snippet :</p>
  
  <pre><code>html  = "&lt;!doctype html&gt;";
  html += "&lt;html&gt;";
  html += "&lt;head&gt;&lt;title&gt;test&lt;/title&gt;&lt;/head&gt;";
  html += "&lt;body&gt;&lt;p&gt;test&lt;/p&gt;&lt;/body&gt;";
  html += "&lt;/html&gt;";
  
  parser = new DOMParser();
  
  dom = parser.parseFromString (html, "text/html");
  </code></pre>
  
  <p>here's come the error when trying to execute these lines :</p>
  
  <p><strong>Error: Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMParser.parseFromString]</strong></p>
  
  <p>I try to figure out what's going on but the code seems to be right and I searched on the web, i come here with no clues.</p>
  
  <p>have you encounter this failure before ? if yes, where's the bug hiding ?</p>