[whatwg] Spec for location object needs to make some properties unforgeable; need supporting WebIDL changes

Cameron McCormack cam at mcc.id.au
Mon Jul 1 23:49:18 PDT 2013

Cameron McCormack wrote:
> OK. I propose then that we allow [Unforgeable] on the interface, which
> means:
> * attributes get own, non-configurable accessor properties (with setters
> if they are not readonly attributes), and no property on the prototype
> * operations get own, non-configurable, non-writable properties, and no
> property on the prototype
> * the stringifier gets an own, non-configurable, non-writable toString
> property, and no property on the prototype
> * there is an own, non-configurable, non-writable valueOf property that
> just returns this
> I think that's the least amount of crazy.

I've done this now:


More information about the whatwg mailing list