-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Hi,
In https://webidl.spec.whatwg.org/ , while I see reference to specific prescribed class strings on interface prototypes, I don't see any prescribed behavior for class strings on objects which implement an interface.
Do you know if that is up to the spec to specify in some manner? I'm specifically wondering whether CryptoKey objects, by their WebIDL implies a specific class string (presumably "CryptoKey", if so).
If this is not implied in WebIDL, why is it not (as it should be useful to have such a consistent means available for detection in userland)? Should it not at least be encouraged somewhere for objects implementing an interface to define them?
I asked this at https://stackoverflow.com/questions/74950202/webidl-object-class-strings , but received no reply, so wondering if you might be able to address here given your WebIDL tests.
Thanks!