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

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

--- Comment #6 from Cameron McCormack <cam@mcc.id.au> ---
static attributes already exist, if you were happy to to do the 'Return
"Gecko".` bit in prose.  Otherwise static const seems reasonable to me.  And
probably preferable, since it would result in a data property rather than an
accessor property.

I don't understand the objection to use a constant if the value is indeed
constant, by the way.

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

Received on Friday, 12 April 2013 07:23:14 UTC