Skip to content

Commit

Permalink
Add some IDs to callback-invoking definitions (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic authored and bzbarsky committed Aug 25, 2016
1 parent df8c9c4 commit 044f692
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 32 deletions.
33 changes: 19 additions & 14 deletions index.html
Expand Up @@ -14270,12 +14270,14 @@ <h3>4.9. User objects implementing callback interfaces</h3>
</ul>

<p>
To <dfn>call a user object's operation</dfn>, given a <a class="dfnref" href="#idl-interface">callback interface type</a> value <var>value</var>,
sometimes-optional operation name <var>opName</var>, list of argument values
<var>arg</var><sub>0..<var>n</var>−1</sub> each of which is either an IDL value or the
special value “missing” (representing a missing optional argument), and optional <dfn data-export="" id="dfn-callback-this-value">callback this value</dfn>
<var>thisArg</var>, perform the following steps. These steps will either return an IDL
value or throw an exception.
To <dfn data-export="" id="call-a-user-objects-operation">call a user object's
operation</dfn>, given a <a class="dfnref" href="#idl-interface">callback interface
type</a> value <var>value</var>, sometimes-optional operation name <var>opName</var>,
list of argument values <var>arg</var><sub>0..<var>n</var>−1</sub> each of which is
either an IDL value or the special value “missing” (representing a missing optional
argument), and optional <dfn data-export="" id="dfn-callback-this-value">callback this
value</dfn> <var>thisArg</var>, perform the following steps. These steps will either
return an IDL value or throw an exception.
</p>

<ol class="algorithm">
Expand Down Expand Up @@ -14401,9 +14403,11 @@ <h3>4.9. User objects implementing callback interfaces</h3>
</ol>

<p>
To <dfn data-export="">get a user object's attribute value</dfn>, given a <a class="dfnref" href="#idl-interface">callback interface type</a> value <var>object</var>
and attribute name <var>attributeName</var>, perform the following steps. These steps
will either return an IDL value or throw an exception.
To <dfn data-export="" id="get-a-user-objects-attribute-value">get a user object's
attribute value</dfn>, given a <a class="dfnref" href="#idl-interface">callback
interface type</a> value <var>object</var> and attribute name <var>attributeName</var>,
perform the following steps. These steps will either return an IDL value or throw an
exception.
</p>

<ol class="algorithm">
Expand Down Expand Up @@ -14460,10 +14464,11 @@ <h3>4.9. User objects implementing callback interfaces</h3>
</ol>

<p>
To <dfn data-export="">set a user object's attribute value</dfn>, given a <a class="dfnref" href="#idl-interface">callback interface type</a> value
<var>object</var>, attribute name <var>attributeName</var>, and IDL value
<var>value</var>, perform the following steps. These steps will not return anything, but
could throw an exception.
To <dfn data-export="" id="set-a-user-objects-attribute-value">set a user object's
attribute value</dfn>, given a <a class="dfnref" href="#idl-interface">callback
interface type</a> value <var>object</var>, attribute name <var>attributeName</var>, and
IDL value <var>value</var>, perform the following steps. These steps will not return
anything, but could throw an exception.
</p>

<ol class="algorithm">
Expand Down Expand Up @@ -14522,7 +14527,7 @@ <h3>4.10. Invoking callback functions</h3>
</p>

<p>
To <dfn data-export="">invoke</dfn> a <a class="dfnref" href="#idl-callback-function">callback function type</a> value <var>callable</var> with
To <dfn data-export="" id="invoke-a-callback-function">invoke</dfn> a <a class="dfnref" href="#idl-callback-function">callback function type</a> value <var>callable</var> with
a list of arguments <var>arg</var><sub>0..<var>n</var>−1</sub>, each of which is either
an IDL value or the special value “missing” (representing a missing optional argument),
and with optional <a class="dfnref" href="#dfn-callback-this-value">callback this
Expand Down
37 changes: 19 additions & 18 deletions index.xml
Expand Up @@ -14224,14 +14224,14 @@ C implements A;</x:codeblock>
</ul>

<p>
To <dfn>call a user object's operation</dfn>, given a <a class='dfnref'
href='#idl-interface'>callback interface type</a> value <var>value</var>,
sometimes-optional operation name <var>opName</var>, list of argument values
<var>arg</var><sub>0..<var>n</var>−1</sub> each of which is either an IDL value or the
special value “missing” (representing a missing optional argument), and optional <dfn
data-export='' id='dfn-callback-this-value'>callback this value</dfn>
<var>thisArg</var>, perform the following steps. These steps will either return an IDL
value or throw an exception.
To <dfn data-export='' id='call-a-user-objects-operation'>call a user object's
operation</dfn>, given a <a class='dfnref' href='#idl-interface'>callback interface
type</a> value <var>value</var>, sometimes-optional operation name <var>opName</var>,
list of argument values <var>arg</var><sub>0..<var>n</var>−1</sub> each of which is
either an IDL value or the special value “missing” (representing a missing optional
argument), and optional <dfn data-export='' id='dfn-callback-this-value'>callback this
value</dfn> <var>thisArg</var>, perform the following steps. These steps will either
return an IDL value or throw an exception.
</p>

<ol class='algorithm'>
Expand Down Expand Up @@ -14371,10 +14371,11 @@ C implements A;</x:codeblock>
</ol>

<p>
To <dfn data-export="">get a user object's attribute value</dfn>, given a <a
class='dfnref' href='#idl-interface'>callback interface type</a> value <var>object</var>
and attribute name <var>attributeName</var>, perform the following steps. These steps
will either return an IDL value or throw an exception.
To <dfn data-export='' id='get-a-user-objects-attribute-value'>get a user object's
attribute value</dfn>, given a <a class='dfnref' href='#idl-interface'>callback
interface type</a> value <var>object</var> and attribute name <var>attributeName</var>,
perform the following steps. These steps will either return an IDL value or throw an
exception.
</p>

<ol class='algorithm'>
Expand Down Expand Up @@ -14437,11 +14438,11 @@ C implements A;</x:codeblock>
</ol>

<p>
To <dfn data-export=''>set a user object's attribute value</dfn>, given a <a
class='dfnref' href='#idl-interface'>callback interface type</a> value
<var>object</var>, attribute name <var>attributeName</var>, and IDL value
<var>value</var>, perform the following steps. These steps will not return anything, but
could throw an exception.
To <dfn data-export='' id='set-a-user-objects-attribute-value'>set a user object's
attribute value</dfn>, given a <a class='dfnref' href='#idl-interface'>callback
interface type</a> value <var>object</var>, attribute name <var>attributeName</var>, and
IDL value <var>value</var>, perform the following steps. These steps will not return
anything, but could throw an exception.
</p>

<ol class='algorithm'>
Expand Down Expand Up @@ -14506,7 +14507,7 @@ C implements A;</x:codeblock>
</p>

<p>
To <dfn data-export=''>invoke</dfn> a <a class='dfnref'
To <dfn data-export='' id='invoke-a-callback-function'>invoke</dfn> a <a class='dfnref'
href='#idl-callback-function'>callback function type</a> value <var>callable</var> with
a list of arguments <var>arg</var><sub>0..<var>n</var>−1</sub>, each of which is either
an IDL value or the special value “missing” (representing a missing optional argument),
Expand Down

0 comments on commit 044f692

Please sign in to comment.