Make sure the content we passed to the Javascript parser in the Utility Process are utf-8 encoded for ORB
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox113 | --- | fixed |
People
(Reporter: sefeng211, Assigned: sefeng211)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Whiteboard: [orb:m2], [wptsync upstream])
Attachments
(3 external files)
For ORB, we need to ensure the content that we are passing to the JS parser are utf-8 encoded.
Updated•3 years ago
|
Comment 1•3 years ago
|
||
It probably makes sense to start with a manually-monomorphized copypaste of what ScriptLoader::ConvertToUTF8 expands to. Perhaps the ORB and ScriptLoader code paths can be refactored back together later. The strangest bit there is the case where aDocument is null. I don't recall when that occurs, but it falls back to windows-1252.
Comment 2•3 years ago
|
||
I wonder if Document::GetDocumentCharacterSet() is something we should expose on WindowContext.
| Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 3•3 years ago
|
||
This is needed for doing content decoding for ORB.
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
This is needed for doing content decoding for ORB.
Depends on D172490
| Assignee | ||
Comment 5•3 years ago
|
||
Depends on D172491
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Backed out 3 changesets (Bug 1804086) for causing failures in JSValidatorChild.cpp CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=409729901&repo=autoland&lineNumber=4938
Backout: https://hg.mozilla.org/integration/autoland/rev/91cb2bd51f4d5189faf4b113c83dece997a576ef
| Assignee | ||
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b86f3d846ada
https://hg.mozilla.org/mozilla-central/rev/d5948770d0a1
https://hg.mozilla.org/mozilla-central/rev/0b351d3ec6c6
Description
•