Kenneth Rohde Christiansen
Kenneth Rohde Christiansen
FrozenArray is an object
Not really sure where to double check that, but that would also explain why it has to be associated a global object (JavaScript realm)
@foolip do you know?
Maybe this would work: - store pending observe promises - disconnect: reject all pending observe promises, but make sure that everything has been removed from "active observer list" - that...
Given it looks like we will remove the async permission stuff, this becomes a non-issue. But we should keep using promises in observe() so that we can add it back.
Given that we use an attribute for supported source types, we have not made that an async querying function, so we could do this check sync and it should not...
If that is indeed async, how is the attribute implemented today then? Also the current activation was happening on the main tread (in the global task) so the promise resolve...
> one would still have a window where the async connection is being established internally but disconnect/unobserve can still be called. We haven't really spec'ed how that happens, and in...
@rakuco I did a PR to remove the permissions integration, but I can change it to keep the global task and instead do the activation in parallel. Then afterwards we...
@arskama mentioned that the attribute getter returns only values supported by the spec and not necessarily the underlying hardware - I believe that is how it worked in some other...