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

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.