- From: Marcelo Volmaro <notifications@github.com>
- Date: Fri, 22 Nov 2024 09:16:51 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 22 November 2024 17:16:55 UTC
@noamr Since both sides seems to be right, and by what I can see here the major issue is throwing (as try/catch is slow), would it be possible to make the method return true/false if the move operation was succeed/failed? (maybe the name could be changed to tryMove or something similar). In that way I believe both ends will be having what they want: No error will be thrown, the user will be able to do whatever they want if the operation failed (throw, insertBefore), no "magic" things will happen, and you will still be able to extend this functionality in the future without any risks of breaking existing code. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1255#issuecomment-2494326825 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1255/2494326825@github.com>
Received on Friday, 22 November 2024 17:16:55 UTC