- From: Tobie Langel <notifications@github.com>
- Date: Thu, 22 Dec 2016 09:30:18 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 December 2016 17:30:51 UTC
@domenic, re: > Another issue: the spec doesn't currently seem clear on whether the default serializer observably does a `Get(this, "attributeName")` or not. It just says: >> Let V be the value of the attribute with identifier i. >This seems pretty bogus... Currently the spec converts [serialization types](https://heycam.github.io/webidl/#dfn-serializable-type) to [serialization values](https://heycam.github.io/webidl/#dfn-serialized-value) via the [serialization behavior](https://heycam.github.io/webidl/#dfn-serialization-behavior), then converts those to ES types via the [ES binding](https://heycam.github.io/webidl/#es-serializer). This—I think—explains the above language. I'm proposing to remove the serialization values altogether and instead simply require that the `toJSON` operations return a serialization type and let the regular bindings do the conversion to ES. -- 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/188#issuecomment-268849093
Received on Thursday, 22 December 2016 17:30:51 UTC