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

Update presentation-timestamps.md to include security & privacy #107

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

noamr
Copy link
Contributor

@noamr noamr commented Nov 12, 2024

No description provided.


### 01. What information might this feature expose to Web sites or other parties, and for what purposes is that exposure necessary?

It exposes timing information of a platform/OS operation, namely "VSync".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should cover "and for what purposes is that exposure necessary" - even in just a sentence (and then refer to the remainder of the explainer, since that's what it's about)

You can also mention that it's not the precise vsync time, but a coarsened approximation to it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


To some extent, the timing of committing a frame is information about the underlying platform.
However, this information is already exposed in other ways (the `requestAnimationFrame` callback timestamp),
and in this specification it is over-coarsen to avoid exposing meaningful information in terms of security.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean "over-coarsened"? (And if so, does that imply that it's even more coarsened that necessary? Could this sentence just say "...it is coarsened to avoid exposing..."?)


#### 06. Do the features in your specification expose information about the underlying platform to origins?

To some extent, the timing of committing a frame is information about the underlying platform.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true -- you might be able to determine the refresh rate of the user's display, which is potentially a fingerprinting bit. (mostly only if it's not 60hz, I would guess)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


#### 16. Does this specification have both "Security Considerations" and "Privacy Considerations" sections?

Yes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Yes. Combined. Right here, you're reading it right now" 😁

Copy link
Contributor

@clelland clelland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - LGTM

@noamr noamr merged commit a4a2a86 into main Nov 12, 2024
2 checks passed
@noamr noamr deleted the noamr-patch-2 branch November 12, 2024 15:10
github-actions bot added a commit that referenced this pull request Nov 12, 2024
SHA: a4a2a86
Reason: push, by noamr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants