Re: [whatwg/webidl] Normative: Add DOMException cause (PR #1179)

@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