Bug 247308 - navigator.languages is always of length 1, with only the primary language code. is this bug ?
Summary: navigator.languages is always of length 1, with only the primary language cod...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-01 00:26 PDT by shimokawa
Modified: 2022-11-01 18:25 PDT (History)
1 user (show)

See Also:


Attachments
os setting (74.22 KB, image/png)
2022-11-01 00:27 PDT, shimokawa
no flags Details
safari console (30.86 KB, image/png)
2022-11-01 00:28 PDT, shimokawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description shimokawa 2022-11-01 00:26:57 PDT
Is it a specification that window.navigator.languages is set to just one even if multiple languages are set on the OS side? IOS and mac os both.
Comment 1 shimokawa 2022-11-01 00:27:44 PDT
Created attachment 463337 [details]
os setting
Comment 2 shimokawa 2022-11-01 00:28:01 PDT
Created attachment 463338 [details]
safari console
Comment 3 Alexey Proskuryakov 2022-11-01 12:53:46 PDT
Yes, we intentionally expose only the primary language for privacy reasons, as seeing the whole list would allow for much more precise fingerprinting.
Comment 4 shimokawa 2022-11-01 18:24:43 PDT
(In reply to Alexey Proskuryakov from comment #3)
> Yes, we intentionally expose only the primary language for privacy reasons,
> as seeing the whole list would allow for much more precise fingerprinting.

Thank you for your reply. I understand. Thanks.