Refactor hintCharset from nsDocumentViewer to reloadCharset on docshell
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen, Mentored)
References
Details
(Whiteboard: [lang=C++])
Attachments
(1 file)
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Assignee | ||
Comment 5•13 years ago
|
||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Assignee | ||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Assignee | ||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Assignee | ||
Comment 13•12 years ago
|
||
Comment 14•12 years ago
|
||
Updated•11 years ago
|
Assignee | ||
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Assignee | ||
Comment 18•5 years ago
|
||
It appears that hintCharset is used when the HTML parser requests a charset reload. Rename it accordingly and move it to the docshell.
Assignee | ||
Comment 20•4 years ago
|
||
From the duplicate:
We use the "hint charset" as a place where we keep the encoding over a late meta or late encoding detection reload.
I don't see the propagation to children making any sense, since the children are destroyed by the reload and new child viewers created when the corresponding iframes are eventually re-created.
I suggest removing the CallChildren
part and checking if the encoding reload stuff still works. https://searchfox.org/mozilla-central/source/testing/web-platform/tests/encoding-detection has reload tests, but they don't have iframes.
Comment 21•4 years ago
|
||
I want to work on this, can I get some information regarding this bug?
Assignee | ||
Comment 22•4 years ago
|
||
(In reply to Sneha k from comment #21)
I want to work on this, can I get some information regarding this bug?
The comment previous to your has the most up-to-date suggestion.
Assignee | ||
Comment 23•4 years ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #22)
(In reply to Sneha k from comment #21)
I want to work on this, can I get some information regarding this bug?
The comment previous to your has the most up-to-date suggestion.
Sorry about not waiting. I'm taking this to get the docshell stuff here off Fission audits.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5219a9d3ea58e2ecd9e716bedabb58d0ad7490fd
Assignee | ||
Comment 24•4 years ago
|
||
Comment 25•4 years ago
|
||
Comment 26•4 years ago
|
||
bugherder |
Description
•