#989167 chromium: Javascript command `new Intl.Locale(locale, options)` ignores options on Debian 10.9

Package:
chromium
Source:
chromium
Description:
web browser
Submitter:
Hauke
Date:
2021-05-27 10:39:04 UTC
Severity:
normal
#989167#5
Date:
2021-05-27 10:34:36 UTC
From:
To:
Dear Maintainer,

I have found that Chromium on Debian 10.9 has a different behavior than on
other Linux distributions with same version or in Chrome on Windows.

The Javascript command

const test = new Intl.Locale("de", {region: "DE"});
console.log(test.region); // expected to be "DE" but is "undefined"

should output "DE". But it prints "undefined". I could only reproduce this
behavior on Debian 10.9 and not on other systems.

It looks like the constructor does ignore all option values.

Chromium Version:
Version 90.0.4430.212 (Developer Build) built on Debian 10.9, running on Debian
10.9 (64-bit)

Firefox on same Debian 10.9 works as expected too.

Greetings
Hauke