Bug 659763 - Make document.open("text/plain") work with the new parser. r=Olli.Pettay.

This commit is contained in:
Henri Sivonen
2011-11-01 17:27:36 +02:00
parent 282d41d3e8
commit e68cae07f7
2 changed files with 6 additions and 2 deletions

View File

@@ -182,7 +182,7 @@ class nsHtml5Parser : public nsIParser,
*
* @param aSourceBuffer the argument of document.write (empty for .close())
* @param aKey a key unique to the script element that caused this call
* @param aContentType ignored (for interface compat only)
* @param aContentType "text/html" for HTML mode, else text/plain mode
* @param aLastCall true if .close() false if .write()
* @param aMode ignored (for interface compat only)
*/