You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Set [=this=]'s [=DOMException/name=] to |name|.
14609
14618
1. Set [=this=]'s [=DOMException/message=] to |message|.
14619
+
1. If |nameOrOptions| is a string, set [=this=]'s [=DOMException/name=] to |nameOrOptions|.
14620
+
1. Else,
14621
+
1. If |nameOrOptions|'name is present, set [=this=]'s [=DOMException/name=] to |nameOrOptions|'s name, else set [=this=]'s [=DOMException/name=] to "Error".
14622
+
1. If |nameOrOptions|'cause is present, set [=this=]'s [=DOMException/cause=] to |nameOrOptions|'s cause.
14610
14623
14611
14624
The <dfn attribute for="DOMException"><code>name</code></dfn> getter steps are to return
14612
14625
[=this=]'s [=DOMException/name=].
14613
14626
14614
14627
The <dfn attribute for="DOMException"><code>message</code></dfn> getter steps are to
14615
14628
return [=this=]'s [=DOMException/message=].
14616
14629
14630
+
The <dfn attribute for="DOMException"><code>cause</code></dfn> getter steps are to
14631
+
return [=this=]'s [=DOMException/cause=].
14632
+
14617
14633
The <dfn attribute for="DOMException"><code>code</code></dfn> getter steps are to return the legacy
14618
14634
code indicated in the [=error names table=] for [=this=]'s [=DOMException/name=], or 0 if no such
0 commit comments