#169858 Browser--Can not login CMB website.

Populate frameset charset source of post doc to disable autodetection.
r=jkeiser, jebak, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@130139 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shanjian%netscape.com
2002-09-20 09:24:54 +00:00
parent 1e59843352
commit 984eb760cc

View File

@@ -628,6 +628,9 @@ nsHTMLDocument::TryParentCharset(nsIDocumentCharsetInfo* aDocInfo,
aDocInfo->GetParentCharsetSource(&parentSource);
if (kCharsetFromParentForced <= parentSource)
source = kCharsetFromParentForced;
else if (kCharsetFromHintPrevDoc == parentSource)
// if parent is posted doc, set this prevent autodections
source = kCharsetFromHintPrevDoc;
else if (kCharsetFromCache <= parentSource)
source = kCharsetFromParentFrame;
else