- From: Boris Zbarsky <notifications@github.com>
- Date: Thu, 20 Feb 2020 12:17:08 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 20 February 2020 20:17:21 UTC
bzbarsky commented on this pull request. > + + The behavior of the attribute could be defined like so: + + <blockquote> + The [=observable array attribute/set an indexed value=] algorithm for + <code class="idl">Building</code>'s <code class="idl">employees</code> attribute, given + |employee| and |index|, is: + + 1. If |employee| is not allowed to enter the building today, then throw an + "{{NotAllowedError}}" {{DOMException}}. + 1. If |index| is greater than 200, then throw a "{{QuotaExceededError}}" {{DOMException}}. + 1. Put |employee| to work! + + The [=observable array attribute/delete an indexed value=] algorithm for + <code class="idl">Building</code>'s <code class="idl">employees</code> attribute, given + |employee|, is: I think it's a bit confusing, yes. -- 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/840#discussion_r382234560
Received on Thursday, 20 February 2020 20:17:21 UTC