-
Notifications
You must be signed in to change notification settings - Fork 174
renderSizeHint fingerprinting concerns with "hardware" hint #2659
Copy link
Copy link
Open
Labels
Needs EditsDecision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/Decision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/category: enhancementSubstantive changes that do not add new features. https://www.w3.org/policies/process/#class-3Substantive changes that do not add new features. https://www.w3.org/policies/process/#class-3size: SSmall amount of work expected to resolve.Small amount of work expected to resolve.
Metadata
Metadata
Assignees
Labels
Needs EditsDecision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/Decision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/category: enhancementSubstantive changes that do not add new features. https://www.w3.org/policies/process/#class-3Substantive changes that do not add new features. https://www.w3.org/policies/process/#class-3size: SSmall amount of work expected to resolve.Small amount of work expected to resolve.
There is concern from Chrome Privacy that the "hardware" hint presents a drive-by fingerprinting risk, by exposing information about the user's default audio hardware buffer size.
Proposed mitigation:
I think it may also be better to move retrieving the "hardware" buffer size to a different API that can be called (with appropriate privacy mitigation) before the AudioContext is constructed. This would also simplify the AudioContextOptions and OfflineAudioContextOptions: renderSizeHint could be a simple number similar to sample rate.