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

Boris Zbarsky bzbarsky at MIT.EDU
Tue Oct 23 15:32:14 PDT 2012


On 10/23/12 5:45 PM, Ian Hickson wrote:
> heycam, bz, what's the conclusion on this?

I don't think we ever reached one...

> Should I
> define a valueOf and make just that, the toString serializer, and href
> unforgeable?

In the end, all properties and methods that let you read stuff out of 
Location need to be unforgeable as far as I can tell.

> Incidentally there's also a request to mark the 'location' attribute
> itself (on Document, presumably also the one on Window) unforgeable:

It's already unforgeable on Window, fwiw.

-Boris



More information about the whatwg mailing list