W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 12 Apr 2013 07:34:45 +0000
To: public-script-coord@w3.org
Message-ID: <bug-21591-3890-OGjnQwqXjo@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:12 UTC