[Harmony Proxies] Proposal: Property fixing
cam at mcc.id.au
Thu May 12 16:20:29 PDT 2011
Tom Van Cutsem:
> invariants that are enforced:
> - unconfigurable [[Class]] (Object or Function, respectively)
Web IDL requires [[Class]] to take on values other than these two, for
example it should be "HTMLDivElement" for an HTMLDivElement object. I
have a feeling that the web requires this, as opposed to just having a
custom toString function.
brings up some libraries that use Object.prototype.toString on DOM
Is it palatable to have proxies control [[Class]] or is there another
way we can help proxies over this hurdle?
Cameron McCormack ≝ http://mcc.id.au/
More information about the es-discuss