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

[worklets] Add language for non-determinism in a note. #472

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bfgeek
Copy link
Contributor

@bfgeek bfgeek commented Sep 25, 2017

This adds a note that user-agents must introduce some non-determinism into the selection process for a paint worklet global scope.

This came up in blinks intent-to-ship thread:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Jex3idOld48

Issue: #471

@foolip
Copy link
Member

foolip commented Sep 25, 2017

Some thoughts on how to test this. Could the spec have a limit to say that the same scope cannot be used more than n times in a row, where n is a large number? Then the implementation could be to randomly pick a scope and randomly switch, but a test that checks that it does eventually switch would both be supported by what the spec says, and would pass in a reasonable time frame.

@nainar nainar changed the title [worklets] Add language for non-derminism in a note. [worklets] Add language for non-determinism in a note. Nov 3, 2017
Base automatically changed from master to main February 2, 2021 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants