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

Broken references in Magnetometer #65

Closed
4 tasks
dontcallmedom-bot opened this issue Oct 11, 2023 · 0 comments · Fixed by #69 or w3c/strudy#479
Closed
4 tasks

Broken references in Magnetometer #65

dontcallmedom-bot opened this issue Oct 11, 2023 · 0 comments · Fixed by #69 or w3c/strudy#479
Assignees

Comments

@dontcallmedom-bot
Copy link

While crawling Magnetometer, the following links to other specifications were detected as pointing to non-existing anchors:

This issue was detected and reported semi-automatically by Strudy based on data collected in webref.

rakuco pushed a commit to rakuco/magnetometer that referenced this issue Oct 24, 2023
…finitions

Fixing w3c#65 requires having a sensor type for each entry that will be added
to the per-type virtual sensor metadata map, so add a definition for
Uncalibrated Magnetometer, which was piggybacking on the one for
Magnetometer so far.

While here, do some housekeeping:
* Move the permissions-policy text to a separate section for clarity.
* Stop saying "Magnetometer a policy-controlled feature" because it does not
  make much sense. The most common way to list features is by saying
  something like "this spec defines a feature identifed by the string
  'foo'". In our case, that string is "magnetometer".
* Define and export the feature identifier above, as it is used in e.g. the
  Orientation Sensor specification.
* Explicitly list all data associated with the spec's two sensor types using
  a definition list instead of a very long paragraph.
JuhaVainio added a commit to JuhaVainio/magnetometer that referenced this issue Oct 25, 2023
The Automation section in the Generic Sensor API specification was rewritten and several terms and concepts have changed.

This commit adapts the Magnetometer Sensor spec to the changes:

Remove references to "mock sensor type", "mock sensor reading values" and the "MockSensorType" enum.
Define an entry in the per-type virtual sensor metadata map whose key is what used to be the "magnetometer" or "uncalibrated-magnetometer" entry in MockSensorType and an appropriate virtual sensor metadata entry.
This is enough to integrate properly with the Generic Sensor spec and allow Magnetometer and Uncalibrated Magnetometer virtual sensors to be created and used.

Fixes w3c#65.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants