Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have deviceId follow partitioning rules for storage (such as localStorage) #674

Merged
merged 3 commits into from
Apr 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions getusermedia.html
Original file line number Diff line number Diff line change
Expand Up @@ -3214,8 +3214,17 @@ <h2>Attributes</h2>
<p>The identifier of the represented device. The device MUST be
uniquely identified by its identifier and its <code><a
href="#def-mediadeviceinfo-kind">kind</a></code>.</p>
<p>The same identifier MUST be valid between browsing sessions of
this origin. The identifier SHOULD be origin-unique,
<p>To to ensure stored identifiers are recognized, the identifier
MUST be the same in documents of the same origin in <a data-cite=
"!HTML/#top-level-browsing-context">top-level browsing contexts.</a>
In <a data-cite=
"!HTML/#nested-browsing-context">nested browsing contexts</a>,
the decision of whether or not the identifier is the same across
documents, MUST follow the user agents' partitioning rules for
storage (such as <a data-cite=
"!HTML/#dom-localstorage"><code>localStorage</code></a>), if any,
to not interfere with mitigations for cross-site correlation.
The identifier SHOULD be origin-unique,
in which case some sort of UUID is recommended.
If the identifier can uniquely identify the user, as is usually
the case with UUID, it MUST be un-guessable by browsing contexts
Expand Down