Bug 261272

Summary: Expose GraphicsClient through ScriptExecutionContext
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

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.