- From: Jake Archibald <notifications@github.com>
- Date: Wed, 27 Jul 2022 06:31:13 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 27 July 2022 13:31:25 UTC
https://webidl.spec.whatwg.org/#this It isn't clear how nested steps behave in relation to `this`. ``` The foo() method steps are: 1. It's fine to access [=this=] here. 2. Queue the following steps: 1. But is it fine to access [=this=] here? ``` It feels like WebIDL could explicitly allow the above, by saying `this` gets its value from the 'closest' [constructor steps](https://webidl.spec.whatwg.org/#constructor-steps), [getter steps](https://webidl.spec.whatwg.org/#getter-steps), [setter steps](https://webidl.spec.whatwg.org/#setter-steps), or [method steps](https://webidl.spec.whatwg.org/#method-steps). -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1175 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1175@github.com>
Received on Wednesday, 27 July 2022 13:31:25 UTC