Closed Bug 739807 Opened 12 years ago Closed 12 years ago

Robocop: avoid logcat warning: character encoding of the HTML document was not declared

Categories

(Testing :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla14

People

(Reporter: gbrown, Assigned: gbrown)

Details

Attachments

(1 file)

The robocop html files do not specify a character encoding, causing warnings in logcat output:

E/GeckoConsole(26238): [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 to be declared in the document or in the transfer protocol." {file: "http://mochi.test:8888/tests/robocop/robocop_blank_01.html" line: 0}]

Not harmful, just distracting...


See also bug 711011 (same problem / solution for mochitest)
Attachment #609915 - Flags: review?(jmaher)
Comment on attachment 609915 [details] [diff] [review]
specify utf-8 encoding

Review of attachment 609915 [details] [diff] [review]:
-----------------------------------------------------------------

cool!
Attachment #609915 - Flags: review?(jmaher) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/fa4228a37dbc
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: