Re: [heycam/webidl] Prevent [[SetPrototypeOf]] on all globals (#209)

OK.  So taking a step back for a second: from my point of view as an implementor, Window is not special in terms of wanting it to be "ordinary".  I want that for all globals.

Which means that my definition of "ordinary" includes immutable prototype exotic objects, given that they only have [[SetPrototypeOf]] modified.  In practice we implement that via a flag on such objects and checking that flag in the default [[SetPrototypeOf]]...

What this should translate to in spec terms, I'm not sure.  But my point was that there current ordinariness of Window is not really sacred, or is no more sacred than the ordinariness of any other global object.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/209#issuecomment-256942870

Received on Friday, 28 October 2016 14:57:13 UTC