Add docCharsetIsForced member to nsIDomWindowUtils. Bug 391631, r+sr=bz, a=jst

git-svn-id: svn://10.0.0.236/trunk@231895 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
smontagu%smontagu.org
2007-08-11 18:37:16 +00:00
parent 6501cac0db
commit 62c6bac8bc
4 changed files with 27 additions and 1 deletions

View File

@@ -3663,6 +3663,7 @@ nsHTMLDocument::CreateAndAddWyciwygChannel(void)
// Note: we want to treat this like a "previous document" hint so that,
// e.g. a <meta> tag in the document.write content can override it.
SetDocumentCharacterSetSource(kCharsetFromHintPrevDoc);
mWyciwygChannel->SetCharsetAndSource(kCharsetFromHintPrevDoc,
GetDocumentCharacterSet());