css-houdini-drafts icon indicating copy to clipboard operation
css-houdini-drafts copied to clipboard

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

Open bfgeek opened this issue 8 years ago • 1 comments

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

bfgeek avatar Sep 25 '17 05:09 bfgeek

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.

foolip avatar Sep 25 '17 12:09 foolip