Skip to content

Commit 9fa4955

Browse files
committed
Rename [Unforgeable] to [LegacyUnforgeable]
Part of #350.
1 parent 3939e60 commit 9fa4955

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

index.bs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ are applicable only to regular attributes:
19721972
[{{LegacyLenientThis}}],
19731973
[{{PutForwards}}],
19741974
[{{Replaceable}}],
1975-
[{{Unforgeable}}].
1975+
[{{LegacyUnforgeable}}].
19761976

19771977
<pre class="grammar" id="prod-ReadOnlyMember">
19781978
ReadOnlyMember :
@@ -2415,7 +2415,7 @@ The following extended attributes are applicable to operations:
24152415
[{{Exposed}}],
24162416
[{{NewObject}}],
24172417
[{{SecureContext}}],
2418-
[{{Unforgeable}}].
2418+
[{{LegacyUnforgeable}}].
24192419

24202420
<pre class="grammar" id="prod-DefaultValue">
24212421
DefaultValue :
@@ -10781,9 +10781,9 @@ See [[#es-DOMString]] for the specific requirements that the use of [{{TreatNull
1078110781
</div>
1078210782

1078310783

10784-
<h4 id="Unforgeable" extended-attribute lt="Unforgeable">[Unforgeable]</h4>
10784+
<h4 id="LegacyUnforgeable" extended-attribute lt="LegacyUnforgeable" oldids="Unforgeable">[LegacyUnforgeable]</h4>
1078510785

10786-
If the [{{Unforgeable}}] [=extended attribute=] appears on
10786+
If the [{{LegacyUnforgeable}}] [=extended attribute=] appears on
1078710787
[=regular attributes=] or non-[=static operations|static=] [=operations=],
1078810788
it indicates that the attribute or operation
1078910789
will be reflected as an ECMAScript property
@@ -10797,18 +10797,18 @@ rather than on its prototype.
1079710797
An attribute or operation is said to be
1079810798
<dfn id="dfn-unforgeable-on-an-interface" export>unforgeable</dfn> on a given interface |A|
1079910799
if the attribute or operation is declared on |A|,
10800-
and is annotated with the [{{Unforgeable}}] [=extended attribute=].
10800+
and is annotated with the [{{LegacyUnforgeable}}] [=extended attribute=].
1080110801

10802-
The [{{Unforgeable}}] extended attribute must [=takes no arguments|take no arguments=].
10802+
The [{{LegacyUnforgeable}}] extended attribute must [=takes no arguments|take no arguments=].
1080310803

10804-
The [{{Unforgeable}}] [=extended attribute=] must not appear
10804+
The [{{LegacyUnforgeable}}] [=extended attribute=] must not appear
1080510805
on anything other than a [=regular attribute=]
1080610806
or a non-[=static operations|static=] [=operation=].
1080710807
If it does appear on an [=operation=],
1080810808
then it must appear on all operations
1080910809
with the same [=identifier=] on that interface.
1081010810

10811-
The [{{Unforgeable}}] extended attribute must not be used
10811+
The [{{LegacyUnforgeable}}] extended attribute must not be used
1081210812
on an attribute declared on a [=namespace=].
1081310813

1081410814
If an attribute or operation |X| is [=unforgeable=] on an interface |A|,
@@ -10824,7 +10824,7 @@ with the same [=identifier=] as |X|.
1082410824
<pre highlight="webidl">
1082510825
[Exposed=Window]
1082610826
interface A1 {
10827-
[Unforgeable] readonly attribute DOMString x;
10827+
[LegacyUnforgeable] readonly attribute DOMString x;
1082810828
};
1082910829
[Exposed=Window]
1083010830
interface B1 : A1 {
@@ -10846,18 +10846,18 @@ See [[#es-attributes]],
1084610846
[[#es-legacy-platform-objects]] and
1084710847
[[#legacy-platform-object-defineownproperty]]
1084810848
for the specific requirements that the use of
10849-
[{{Unforgeable}}] entails.
10849+
[{{LegacyUnforgeable}}] entails.
1085010850

1085110851
<div class="example">
1085210852

1085310853
The following [=IDL fragment=] defines
1085410854
an interface that has two [=attributes=],
10855-
one of which is designated as [{{Unforgeable}}]:
10855+
one of which is designated as [{{LegacyUnforgeable}}]:
1085610856

1085710857
<pre highlight="webidl">
1085810858
[Exposed=Window]
1085910859
interface System {
10860-
[Unforgeable] readonly attribute DOMString username;
10860+
[LegacyUnforgeable] readonly attribute DOMString username;
1086110861
readonly attribute long long loginTime;
1086210862
};
1086310863
</pre>

0 commit comments

Comments
 (0)