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

Address how to extend mock sensor type #381

Merged
merged 2 commits into from
Jan 31, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2087,6 +2087,16 @@ for each [=sensor types=]:
[=extension specifications=] may choose not to define a [=default sensor=],
especially when doing so would not make sense.

<h3 id="extend-automation">Automation</h3>

In order to user-agent automation and application testing,
Honry marked this conversation as resolved.
Show resolved Hide resolved
[=extension specifications=] are encouraged to:

- Add new [=mock sensor type=] for each [=extension sensor interface=]
to the {{MockSensorType}} enum.
- Define a [=mock sensor reading values=] dictionary.


<h3 id="permission-api">Extending the Permission API</h3>

An implementation of the {{Sensor}} interface for each [=sensor type=] must protect its
Expand Down
Loading