[heycam/webidl] Various named property stuff seems confused in the face of symbols (#175)

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