Web Inspector: Canvas: add support for showing WebGPU contexts
[WebKit-https.git] / Source / WebCore / Modules / webgpu / GPUCanvasContext.idl
index 09531f6..47c70ff 100644 (file)
@@ -28,4 +28,6 @@
     Conditional=WEBGPU,
     EnabledAtRuntime=WebGPU
 ] interface GPUCanvasContext {
+    // back-reference to the canvas
+    readonly attribute HTMLCanvasElement canvas;
 };