[Exposed=(Window, Worker), SecureContext]
interface GPUAdapterInfo {
readonly attribute DOMString vendor;
readonly attribute DOMString architecture;
readonly attribute DOMString device;
readonly attribute DOMString description;
};
This interface solely includes readonly strings and nothing else, can we make this dictionary? An interface requires more boilerplates and web-exposed objects than a dictionary.
This also applies other Info interfaces, but this one seems easier to change given the spec recently changed how to retrieve the interface (#4662). Note that retrieving a dictionary requires a method than an attribute, though.