Skip to content

Commit e778bf8

Browse files
author
Raphael Kubo da Costa
authored
Security & Privacy Questionnaire: Mention Permissions Policy integration (#135)
Follow-up to #126. Rewrite the answer to question 2.13, "How does this specification distinguish between behavior in first-party and third-party contexts?" by mentioning that the integration with the Permissions Policy specification does cause this spec to distinguish between first-party and third-party context.
1 parent afa5cc0 commit e778bf8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

security-privacy-self-assessment.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,13 @@ None.
6161

6262
### 2.13 How does this specification distinguish between behavior in first-party and third-party contexts?
6363

64-
It does not.
64+
The Permissions Policy integration controls whether third-party contexts are able to receive the events defined by this specification:
65+
66+
- The "deviceorientation" event requires the "accelerometer" and "gyroscope" features when providing relative orientation data. For the implementation to fall back to absolute orientation data, the "magnetometer" feature is also required.
67+
- The "deviceorientationabsolute" event requires the "accelerometer", "gyroscope" and "magnetometer" features.
68+
- The "devicemotion" event requires the "accelerometer" and "gyroscope" features.
69+
70+
The default allowlist for all policy-controlled features defined by this specification ("accelerometer", "gyroscope", and "magnetometer") is `"self"`, which does not allow third-party contexts to receive the events above and have access to the corresponding sensor readings.
6571

6672
### 2.14 How do the features in this specification work in the context of a browser’s Private Browsing or Incognito mode?
6773

@@ -81,4 +87,4 @@ Events are fired on active windows only.
8187

8288
### 2.18 What should this questionnaire have asked?
8389

84-
That's all. Thank you for your review.
90+
That's all. Thank you for your review.

0 commit comments

Comments
 (0)