Re: [webidl] Add a [SecureContext] operator attribute (#65)

The extended attribute definition typically contains only informative text in terms of what it does.  The normative requirements should go into the places whose behavior it affects, to prevent comefrom-style specification.

In this case that means the normative text should be in <http://heycam.github.io/webidl/#es-operations>.  When that's done, that will automatically fix the issues with the proposed text underdefining behavior (e.g. which happens first: checks for the right kind of "this" value or the secure context checks) and the Promise behavior will fall out for free, as long as you throw an exception from somewhere inside the steps prefaced by "Try running the following steps".

---
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/65#issuecomment-148487743

Received on Thursday, 15 October 2015 18:55:58 UTC