[Bug 21591] String constant on NavigatorID is invalid per WebIDL

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21591

--- Comment #7 from Simon Pieters <simonp@opera.com> ---
The attribute should only be on the prototype, not on the interface object.
static does the opposite.

I think what is requested here is the equivalent of

[[
interface Foo {
 readonly attribute DOMString product;
};

The `product` attribute must return the string "Gecko".
]]

Since this is a legacy feature, I'm not convinced WebIDL should support
dedicated syntax for it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 12 April 2013 07:34:46 UTC