Bug 247308

Summary: navigator.languages is always of length 1, with only the primary language code. is this bug ?
Product: WebKit Reporter: shimokawa
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap
Priority: P2    
Version: Safari 15   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
os setting
none
safari console none

shimokawa
Reported 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.
Attachments
os setting (74.22 KB, image/png)
2022-11-01 00:27 PDT, shimokawa
no flags
safari console (30.86 KB, image/png)
2022-11-01 00:28 PDT, shimokawa
no flags
shimokawa
Comment 1 2022-11-01 00:27:44 PDT
Created attachment 463337 [details] os setting
shimokawa
Comment 2 2022-11-01 00:28:01 PDT
Created attachment 463338 [details] safari console
Alexey Proskuryakov
Comment 3 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.
shimokawa
Comment 4 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.
Note You need to log in before you can comment on or make changes to this bug.