New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 747953 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 705916



Sign in to add a comment

Locale is stuck at english in headless mode

Reported by d.roeh...@metamorph.de, Jul 24 2017

Issue description

Chrome Version       : 59.0.3071.109 (Entwickler-Build) Built on Ubuntu , running on Ubuntu 17.04 (64-Bit)

What steps will reproduce the problem?
(1) Try to start chromium in headless mode with any combination of LANGUAGE=de_DE and --lang=de

What is the expected result?
Just like in "not headless" mode, use the German language

What happens instead?
Everything is still in English

My problem is, that if I run my acceptance tests (Codeception) in "normal" mode, all tests pass. In headless mode, my tests fail. Reason: We use a "," to separate numbers, English speaking countries use "."

 

Comment 1 by kojii@chromium.org, Jul 24 2017

Components: -Blink Internals>Headless
Cc: krajshree@chromium.org
 Issue 732732  has been merged into this issue.
Status: Available (was: Unconfirmed)
Status: Fixed (was: Available)
Project Member

Comment 5 by bugdroid1@chromium.org, Aug 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8078336c725da2d3ed540700adeb6921960740c3

commit 8078336c725da2d3ed540700adeb6921960740c3
Author: Roxana Pavelescu <pavelescu@google.com>
Date: Thu Aug 03 12:24:51 2017

Added --lang to headless.

This flag was already present in chrome, but it was ignored in headless.
This commit makes headless behave as expected.

R=eseckler@chromium.org, rvera@chromium.org

Bug:  747953 
Change-Id: I39084bbb289157d0162d9b3a6ebc72d436983dad
Reviewed-on: https://chromium-review.googlesource.com/598367
Commit-Queue: Roxana Pavelescu <pavelescu@google.com>
Reviewed-by: Eric Seckler <eseckler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491708}
[modify] https://crrev.com/8078336c725da2d3ed540700adeb6921960740c3/headless/app/headless_shell.cc

Owner: pavelescu@google.com

Sign in to add a comment