- From: Boris Zbarsky <notifications@github.com>
- Date: Fri, 09 Sep 2016 11:46:24 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Friday, 9 September 2016 18:46:53 UTC
Consider this simple testcase: var x = document.documentElement.dataset; var s = Symbol("foo"); Object.defineProperty(x, s, { value: "hey" }); What should happen? We land in http://heycam.github.io/webidl/#defineownproperty and the interface supports named properties. `s` is not a supported property name, so _creating_ ends up true. There is a named property setter, so we're supposed to invoke the named property setter... but _P_ is a symbol and named property setters expect strings. Seems to me like all the named property stuff should be skipped for symbol names or something. -- 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/issues/175
Received on Friday, 9 September 2016 18:46:53 UTC