зеркало из https://github.com/mozilla/pjs.git
#169858 Browser--Can not login CMB website.
Populate frameset charset source of post doc to disable autodetection. r=jkeiser, jebak, sr=jst.
This commit is contained in:
Родитель
854ae80159
Коммит
6bcb180b10
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче