Bug 261272 - Expose GraphicsClient through ScriptExecutionContext
Summary: Expose GraphicsClient through ScriptExecutionContext
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-07 04:41 PDT by Kimmo Kinnunen
Modified: 2023-09-13 02:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2023-09-07 04:41:36 PDT
Expose GraphicsClient through ScriptExecutionContext

All DOM objects that construct graphics objects must do so via a factory that is able to create graphics objects (either local or remote).
This factory interface is GraphicsClient.

The objects obtain the instance via ScriptExecutionContext, either:
- Document (so page->chrome)
- WorkerGlobalScope (so WorkerClient)
Comment 1 Radar WebKit Bug Importer 2023-09-07 04:42:06 PDT
<rdar://problem/115108907>
Comment 2 Kimmo Kinnunen 2023-09-07 04:51:44 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17537
Comment 3 EWS 2023-09-13 02:43:58 PDT
Committed 267938@main (a8f55217363b): <https://commits.webkit.org/267938@main>

Reviewed commits have been landed. Closing PR #17537 and removing active labels.