[heycam/webidl] Update attribute setter/getters in various ways (#217)

- Fixes getters on the global when no explicit `this` is passed, similarly to what was already done for operations in a2b4599631fe0fa254a7a4993dd7f00b74c8ad20. Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=29421.
- Make promise getters reject in case of an error. Disallow promise types on attributes that will generate setters. Fixes #186 and fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=25048.
- Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=27905 by more clearly specifying the target (as was done previously for operations).
- Updated to use modern ES Get/Set abstract operations instead of [[Get]] and [[Put]].
- Also made minor fixes to the operations definition, e.g. wrapping it in <div algorithm> and remembering to actually return F.

---

I am not generating the output given we need to fix some Bikeshed errors first. (Also the syntax highlighting seems to have changed so the diff contains lots of weirdness...)
You can view, comment on, or merge this pull request online at:

  https://github.com/heycam/webidl/pull/217

-- Commit Summary --

  * Update attribute setter/getters in various ways

-- File Changes --

    M index.bs (328)

-- Patch Links --

https://github.com/heycam/webidl/pull/217.patch
https://github.com/heycam/webidl/pull/217.diff

-- 
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/217

Received on Tuesday, 1 November 2016 19:22:10 UTC