Skip to content

Commit bcdd827

Browse files
committed
Fix ReSpec console warnings
Warning message: The `for` and `dfn-for` attributes are deprecated. Please use `data-dfn-for` instead. See developer console. Specific changes: / for=/ data-dfn-for=/g / dfn-for=/ data-dfn-for=/g
1 parent b29f405 commit bcdd827

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

index.html

+26-26
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ <h4>
10461046

10471047
</pre>
10481048
<p>
1049-
The <dfn for="Presentation"><code>defaultRequest</code></dfn>
1049+
The <dfn data-dfn-for="Presentation"><code>defaultRequest</code></dfn>
10501050
attribute MUST return the <a>default presentation request</a> if
10511051
any, <code>null</code> otherwise. On setting, the <a>default
10521052
presentation request</a> MUST be set to the new value.
@@ -1089,7 +1089,7 @@ <h4>
10891089

10901090
</pre>
10911091
<p>
1092-
The <dfn for="Presentation"><code>receiver</code></dfn> attribute
1092+
The <dfn data-dfn-for="Presentation"><code>receiver</code></dfn> attribute
10931093
MUST return the <a><code>PresentationReceiver</code></a> instance
10941094
associated with the <a>receiving browsing context</a> and created
10951095
by the <a>receiving user agent</a> when the <a>receiving browsing
@@ -1202,7 +1202,7 @@ <h4>
12021202
Selecting a presentation display
12031203
</h4>
12041204
<p>
1205-
When the <code><dfn for="PresentationRequest">start</dfn></code>
1205+
When the <code><dfn data-dfn-for="PresentationRequest">start</dfn></code>
12061206
method is called, the <a>user agent</a> MUST run the following
12071207
steps to <dfn>select a presentation display</dfn>.
12081208
</p>
@@ -1452,7 +1452,7 @@ <h4>
14521452
Reconnecting to a presentation
14531453
</h4>
14541454
<p>
1455-
When the <dfn for="PresentationRequest">reconnect</dfn> method is
1455+
When the <dfn data-dfn-for="PresentationRequest">reconnect</dfn> method is
14561456
called, the <a>user agent</a> MUST run the following steps to
14571457
<dfn>reconnect to a presentation</dfn>:
14581458
</p>
@@ -1605,7 +1605,7 @@ <h4>
16051605
attributes, by objects implementing the <a>PresentationRequest</a>
16061606
interface:
16071607
</p>
1608-
<table dfn-for="PresentationRequest">
1608+
<table data-dfn-for="PresentationRequest">
16091609
<thead>
16101610
<tr>
16111611
<th>
@@ -1663,13 +1663,13 @@ <h3>
16631663
implemented in a <a>controlling browsing context</a>.
16641664
</p>
16651665
<p>
1666-
The <dfn for="PresentationAvailability">value</dfn> attribute MUST
1666+
The <dfn data-dfn-for="PresentationAvailability">value</dfn> attribute MUST
16671667
return the last value it was set to. The value is initialized and
16681668
updated by the <a>monitor the list of available presentation
16691669
displays</a> algorithm.
16701670
</p>
16711671
<p>
1672-
The <dfn for="PresentationAvailability">onchange</dfn> attribute is
1672+
The <dfn data-dfn-for="PresentationAvailability">onchange</dfn> attribute is
16731673
an <a>event handler</a> whose corresponding <a>event handler event
16741674
type</a> is <dfn><code>change</code></dfn>.
16751675
</p>
@@ -1747,7 +1747,7 @@ <h4>
17471747
Getting the <a>presentation displays</a> availability information
17481748
</h4>
17491749
<p>
1750-
When the <dfn for="PresentationRequest">getAvailability</dfn>
1750+
When the <dfn data-dfn-for="PresentationRequest">getAvailability</dfn>
17511751
method is called, the user agent MUST run the following steps:
17521752
</p>
17531753
<dl>
@@ -2001,7 +2001,7 @@ <h4>
20012001
when <a>monitoring incoming presentation connections</a>.
20022002
</p>
20032003
<p>
2004-
The <dfn for=
2004+
The <dfn data-dfn-for=
20052005
"PresentationConnectionAvailableEvent">connection</dfn> attribute
20062006
MUST return the value it was set to when the
20072007
<a>PresentationConnection</a> object was created.
@@ -2011,7 +2011,7 @@ <h4>
20112011
called, the <a>user agent</a> MUST construct a new
20122012
<a>PresentationConnectionAvailableEvent</a> object with its <a data-link-for=
20132013
"PresentationConnectionAvailableEvent">connection</a> attribute set
2014-
to the <dfn for=
2014+
to the <dfn data-dfn-for=
20152015
"PresentationConnectionAvailableEventInit">connection</dfn> member
20162016
of the <dfn>PresentationConnectionAvailableEventInit</dfn> object
20172017
passed to the constructor.
@@ -2053,7 +2053,7 @@ <h3>
20532053
};
20542054

20552055
</pre>
2056-
<div dfn-for="PresentationConnection" link-for=
2056+
<div data-dfn-for="PresentationConnection" link-for=
20572057
"PresentationConnection">
20582058
<p>
20592059
The <dfn><code>id</code></dfn> attribute specifies the
@@ -2069,7 +2069,7 @@ <h3>
20692069
the values of <dfn>PresentationConnectionState</dfn> depending on
20702070
the connection state:
20712071
</p>
2072-
<ul dfn-for="PresentationConnectionState">
2072+
<ul data-dfn-for="PresentationConnectionState">
20732073
<li>
20742074
<dfn>connecting</dfn> means that the user agent is attempting to
20752075
<a>establish a presentation connection</a> with the
@@ -2118,7 +2118,7 @@ <h3>
21182118
</p>
21192119
<p>
21202120
The <dfn>binaryType</dfn> attribute can take one of the values of
2121-
<dfn for="">BinaryType</dfn>. When a <a>PresentationConnection</a>
2121+
<dfn data-dfn-for="">BinaryType</dfn>. When a <a>PresentationConnection</a>
21222122
object is created, its <a>binaryType</a> attribute MUST be set to
21232123
the string "<a link-for="BinaryType">arraybuffer</a>". On getting,
21242124
it MUST return the last value it was set to. On setting, the user
@@ -2127,8 +2127,8 @@ <h3>
21272127
<div class="note">
21282128
The <a>binaryType</a> attribute allows authors to control how
21292129
binary data is exposed to scripts. By setting the attribute to
2130-
"<dfn dfn-for="BinaryType">blob</dfn>", binary data is returned in
2131-
<a>Blob</a> form; by setting it to "<dfn dfn-for=
2130+
"<dfn data-dfn-for="BinaryType">blob</dfn>", binary data is returned in
2131+
<a>Blob</a> form; by setting it to "<dfn data-dfn-for=
21322132
"BinaryType">arraybuffer</dfn>", it is returned in
21332133
<a>ArrayBuffer</a> form. The attribute defaults to
21342134
"<code>arraybuffer</code>". This attribute has no effect on data
@@ -2418,12 +2418,12 @@ <h4>
24182418
<p>
24192419
A <a>PresentationConnectionCloseEvent</a> is fired when a
24202420
<a>presentation connection</a> enters a <a data-link-for=
2421-
"PresentationConnectionState">closed</a> state. The <dfn for=
2421+
"PresentationConnectionState">closed</a> state. The <dfn data-dfn-for=
24222422
"PresentationConnectionCloseEvent">reason</dfn> attribute provides
24232423
the reason why the connection was closed. It can take one of the
24242424
values of <dfn>PresentationConnectionCloseReason</dfn>:
24252425
</p>
2426-
<ul dfn-for="PresentationConnectionCloseReason">
2426+
<ul data-dfn-for="PresentationConnectionCloseReason">
24272427
<li>
24282428
<dfn>error</dfn> means that the mechanism for connecting or
24292429
communicating with a presentation entered an unrecoverable error.
@@ -2443,7 +2443,7 @@ <h4>
24432443
<p>
24442444
When the <a data-link-for="PresentationConnectionCloseEvent">reason</a>
24452445
attribute is <a data-link-for="PresentationConnectionCloseReason">error</a>,
2446-
the user agent SHOULD set the <dfn for=
2446+
the user agent SHOULD set the <dfn data-dfn-for=
24472447
"PresentationConnectionCloseEvent">message</dfn> attribute to a
24482448
human readable description of how the communication channel
24492449
encountered an error.
@@ -2453,11 +2453,11 @@ <h4>
24532453
called, the <a>user agent</a> MUST construct a new
24542454
<a>PresentationConnectionCloseEvent</a> object, with its <a data-link-for=
24552455
"PresentationConnectionCloseEvent">reason</a> attribute set to the
2456-
<dfn for="PresentationConnectionCloseEventInit">reason</dfn> member
2456+
<dfn data-dfn-for="PresentationConnectionCloseEventInit">reason</dfn> member
24572457
of the <dfn>PresentationConnectionCloseEventInit</dfn> object
24582458
passed to the constructor, and its <a data-link-for=
24592459
"PresentationConnectionCloseEvent">message</a> attribute set to the
2460-
<dfn for="PresentationConnectionCloseEventInit">message</dfn>
2460+
<dfn data-dfn-for="PresentationConnectionCloseEventInit">message</dfn>
24612461
member of this <a>PresentationConnectionCloseEventInit</a> object
24622462
if set, to an empty string otherwise.
24632463
</p>
@@ -2752,7 +2752,7 @@ <h4>
27522752
attributes, by objects implementing the
27532753
<a>PresentationConnection</a> interface:
27542754
</p>
2755-
<table dfn-for="PresentationConnection">
2755+
<table data-dfn-for="PresentationConnection">
27562756
<thead>
27572757
<tr>
27582758
<th>
@@ -2785,7 +2785,7 @@ <h4>
27852785
<dfn><code>onclose</code></dfn>
27862786
</td>
27872787
<td>
2788-
<dfn for=
2788+
<dfn data-dfn-for=
27892789
"PresentationConnectionEvent"><code>close</code></dfn>
27902790
</td>
27912791
</tr>
@@ -2794,7 +2794,7 @@ <h4>
27942794
<dfn><code>onterminate</code></dfn>
27952795
</td>
27962796
<td>
2797-
<dfn for=
2797+
<dfn data-dfn-for=
27982798
"PresentationConnectionEvent"><code>terminate</code></dfn>
27992799
</td>
28002800
</tr>
@@ -2823,7 +2823,7 @@ <h3>
28232823
<a>receiving user agent</a>.
28242824
</p>
28252825
<p>
2826-
On getting, the <dfn for="PresentationReceiver">connectionList</dfn>
2826+
On getting, the <dfn data-dfn-for="PresentationReceiver">connectionList</dfn>
28272827
attribute MUST return the result of running the following steps:
28282828
</p>
28292829
<ol>
@@ -2991,7 +2991,7 @@ <h3>
29912991

29922992
</pre>
29932993
<p>
2994-
The <dfn for="PresentationConnectionList">connections</dfn> attribute
2994+
The <dfn data-dfn-for="PresentationConnectionList">connections</dfn> attribute
29952995
MUST return the non-terminated set of <a>presentation connections</a>
29962996
in the <a>set of presentation controllers</a>.
29972997
</p>
@@ -3104,7 +3104,7 @@ <h4>
31043104
attributes, by objects implementing the
31053105
<a>PresentationConnectionList</a> interface:
31063106
</p>
3107-
<table dfn-for="PresentationConnectionList">
3107+
<table data-dfn-for="PresentationConnectionList">
31083108
<thead>
31093109
<tr>
31103110
<th>

0 commit comments

Comments
 (0)