Closed Bug 1659553 Opened 5 months ago Closed 5 months ago

The character encoding of the HTML document was not declared

Categories

(GeckoView :: General, task, P3)

Unspecified
All

Tracking

(firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: agi, Assigned: agi)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

A lot of test files don't declare the encoding, which causes a lot of these lines:

JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.

We should just define the encoding for these test files.

This is not unique to GeckoView.

Many extension tests don't have <meta charset="utf-8"> in various HTML test pages that cause the warning.

Assignee: nobody → agi
Status: NEW → ASSIGNED
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3c1ecba09c9e
Define charset in all mobile html tests. r=snorp
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.