Skip to content

Commit

Permalink
fixup! Add DOMException cause
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Sep 5, 2022
1 parent 1206482 commit 1e7d80c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ urlPrefix: https://tc39.es/ecma262/; spec: ECMA-262
text: CreateIterResultObject; url: sec-createiterresultobject
text: CreateMapIterator; url: sec-createmapiterator
text: CreateMethodProperty; url: sec-createmethodproperty
text: CreateNonEnumerableDataPropertyOrThrow; url: sec-createnonenumerabledatapropertyorthrow
text: CreateSetIterator; url: sec-createsetiterator
text: DefinePropertyOrThrow; url: sec-definepropertyorthrow
text: DetachArrayBuffer; url: sec-detacharraybuffer
Expand All @@ -128,7 +129,6 @@ urlPrefix: https://tc39.es/ecma262/; spec: ECMA-262
text: GetMethod; url: sec-getmethod
text: GetValueFromBuffer; url: sec-getvaluefrombuffer
text: IfAbruptRejectPromise; url: sec-ifabruptrejectpromise
text: InstallErrorCause; url: sec-installerrorcause
text: IsArray; url: sec-isarray
text: IsAccessorDescriptor; url: sec-isaccessordescriptor
text: IsCallable; url: sec-iscallable
Expand Down Expand Up @@ -14616,7 +14616,7 @@ constructor steps are:
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. Perform [=?=] <a abstract-op>InstallErrorCause</a>([=this=], |options|).
1. If |options|["cause"] [=map/exists=], then perform <a abstract-op>CreateNonEnumerableDataPropertyOrThrow</a>([=this=], "cause", |options|["cause"]).

The <dfn attribute for="DOMException"><code>name</code></dfn> getter steps are to return
[=this=]'s [=DOMException/name=].
Expand Down

0 comments on commit 1e7d80c

Please sign in to comment.