- From: Chengzhong Wu <notifications@github.com>
- Date: Wed, 07 Sep 2022 02:31:19 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 7 September 2022 09:31:31 UTC
@legendecas commented on this pull request.
> constructor steps are:
-1. Set [=this=]'s [=DOMException/name=] to |name|.
-1. Set [=this=]'s [=DOMException/message=] to |message|.
+1. Set [=this=]'s [=DOMException/message=] to |message|.
+1. If |options| is a string, then set [=this=]'s [=DOMException/name=] to |options|.
+1. Otherwise,
+ 1. Set [=this=]'s [=DOMException/name=] to |options|["{{DOMExceptionOptions/name}}"].
+ 1. Set [=this=]'s [=DOMException/cause=] to |options|["{{DOMExceptionOptions/cause}}"].
Thanks, fixed.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1179#discussion_r964611958
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/webidl/pull/1179/review/1098845718@github.com>
Received on Wednesday, 7 September 2022 09:31:31 UTC