Sitelet https://github.com/gpuweb/gpuweb/issues/1882
Skip to content

API should be exposed to DedicatedWorker #1882

Description

@Kaiido

Currently the GPUPresentationContext interface is only exposed to Window contexts, certainly it should also be exposed to DedicatedWorkers (according to what was said in #403).

[Exposed=(Window,, DedicatedWorker)]

and related, while in multiple places it's said [[canvas]] can be an OffscreenCanvas, its definition states

[[canvas]] of type HTMLCanvasElement.

OffscreenCanvas should be added, though I'm not sure of the nomenclature here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions