New issue
Advanced search Search tips

Issue 874536 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 165083
Owner:
Closed: Aug 16
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 2
Type: Bug



Sign in to add a comment

about:blank should use UTF-8

Project Member Reported by timothygu@chromium.org, Aug 15

Issue description

Chrome Version: 70.0.3522.0 (Official Build) canary (64-bit)
OS: macOS 10.13.6

What steps will reproduce the problem?

(1) Navigate to about:blank.
(2) Open DevTools and run "document.charset"

What is the expected result?

"UTF-8" is returned.

Per the Fetch Standard (https://fetch.spec.whatwg.org/#concept-scheme-fetch) the equivalent `Content-Type` header for "about:blank" should be `text/html;charset=utf-8`.

Firefox handles this per spec (returns UTF-8) but Safari handles it similarly with Chrome.

What happens instead?

"windows-1252" is returned.
 
Components: Internals>Network
Components: -Internals>Network
Owner: timothygu@chromium.org
Status: Started (was: Available)
Labels: Needs-Feedback
Can not reproduce at 70.0.3524.0 on Linux and 68.0.3440.87 on CrOS.
I think this issue was fixed several years ago, and I closed a similar bug recently.
https://bugs.chromium.org/p/chromium/issues/detail?id=165083

Probably more steps are needed to reproduce the issue?
No, not really. There are no more steps. See https://drive.google.com/file/d/1EBJdw6j77iMVVFEhw-FWjRi6g8VHxSus/view?usp=sharing for a video of the reproduction.
Mergedinto: 165083
Status: Duplicate (was: Started)
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 20

Sign in to add a comment