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

Tie [=latest reading=] map to an origin #267

Merged
merged 1 commit into from
Sep 18, 2017
Merged
Show file tree
Hide file tree
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
14 changes: 8 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -751,14 +751,16 @@ A <dfn id=concept-sensor>sensor</dfn> has an associated [=ordered set|set=]
of <dfn>activated sensor objects</dfn>.
This set is initially [=set/is empty|empty=].

A [=sensor=] has an associated <dfn>latest reading</dfn> [=ordered map|map=]
which holds the latest available [=sensor readings=].
The current [=browsing context=]'s [=sensor=] has an associated <dfn>latest reading</dfn>
[=ordered map|map=] which holds the latest available [=sensor readings=].

Any time the UA obtains a new [=sensor reading=] for a [=sensor=] from the underlying platform,
it invokes [=update latest reading=] with the [=sensor=] and the [=sensor reading=] as arguments.
Note: User agents can share [=sensor readings=] [=ordered map|map=] between different
[=browsing context|contexts=] only if the [=origins=] of these contexts' [=active documents=]
are [=same origin-domain=].

Issue: does the [=latest reading=] map need to be
tied to an origin?
Any time the user agent obtains a new [=sensor reading=] for a [=sensor=] from the underlying
platform, it invokes [=update latest reading=] with the [=sensor=] and the [=sensor reading=]
as arguments.

The [=latest reading=] [=ordered map|map=]
contains an [=map/entry=]
Expand Down
Loading