From a49331a62b5d4f52fe01e5dadd18771b3941558d Mon Sep 17 00:00:00 2001 From: Kelsey Gilbert Date: Fri, 19 Apr 2024 17:17:34 -0700 Subject: [PATCH] attribute USVString WebGLObject.label, application-provided. (#3637) --- specs/latest/1.0/index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/specs/latest/1.0/index.html b/specs/latest/1.0/index.html index 74dc700a4..074903f43 100644 --- a/specs/latest/1.0/index.html +++ b/specs/latest/1.0/index.html @@ -992,10 +992,18 @@

WebGLObject

Each WebGLObject has - an invalidated flag, which is initially unset. + an internal invalidated flag, which is initially unset. +

+

+ Each WebGLObject has a .label attribute, which defaults to "". + Implementations should use this application-provided label string to improve debugging, + e.g. in error messages, + and/or providing the label to any underlying driver where possible to assist in native-level debugging tools. + Implementations must not change behavior due to a label.

[Exposed=(Window,Worker)]
 interface WebGLObject {
+    attribute USVString label;
 };