Privacy/Reviews/Feature Detection API: Difference between revisions

Line 42: Line 42:
== Components  ==
== Components  ==


Describe any major components in the system and how they interact.  Also include any third-party APIs (those Mozilla does not control) and what type of data is sent or received via those APIs.
This API gives you knowledge about two separate classes of things.  For the "api" namespace as described in https://wiki.mozilla.org/WebAPI/Navigator.hasFeature#.22api.22_namespace, the information is basically directly derivable from the user agent string.


=== Component X  ===
For the "hardware" namespace as described in https://wiki.mozilla.org/WebAPI/Navigator.hasFeature#.22hardware.22_namespace, the API queries the OS to detect the amount of physical memory available to the OS.  The returned values are always powers of two (for example, 256MB, 512MB, 1GB, etc.)
 
This component does A, B and C and interacts with component Y to do D.
 
The tables below simply summarize the data encountered by this component.
 
'''Stored Data:'''
 
{| class="wikitable"
|-
! What
! Where
|-
| data type
| where stored
|}
 
'''Communication with Component Y'''
 
{| class="wikitable"
|-
! Direction
! Message
! Data
! Notes
|-
| ''In:''
| message 1
| types of data received from component Y with the message
|
|-
| ''Out:''
| message 2
| types of data sent to component Y with the message
|
|}


= User Data Risk Minimization =
= User Data Risk Minimization =
Confirmed users
657

edits