@@ -1917,7 +1917,7 @@ ignored or an exception is thrown.
1917
1917
</pre>
1918
1918
1919
1919
Attributes whose type is a [=promise type=] must be [=read only=]. Additionally, they cannot have
1920
- any of the [=extended attributes=] [{{LenientSetter }}], [{{PutForwards}}], [{{Replaceable}}], or
1920
+ any of the [=extended attributes=] [{{LegacyLenientSetter }}], [{{PutForwards}}], [{{Replaceable}}], or
1921
1921
[{{SameObject}}].
1922
1922
1923
1923
A [=regular attribute=]
@@ -1968,7 +1968,7 @@ are applicable to regular and static attributes:
1968
1968
1969
1969
The following [=extended attributes=]
1970
1970
are applicable only to regular attributes:
1971
- [{{LenientSetter }}],
1971
+ [{{LegacyLenientSetter }}],
1972
1972
[{{LenientThis}}],
1973
1973
[{{PutForwards}}],
1974
1974
[{{Replaceable}}],
@@ -9755,23 +9755,23 @@ are to be implemented.
9755
9755
</div>
9756
9756
9757
9757
9758
- <h4 id="LenientSetter " extended-attribute lt="LenientSetter">[LenientSetter ]</h4>
9758
+ <h4 id="LegacyLenientSetter " extended-attribute lt="LegacyLenientSetter" oldids=" LenientSetter">[LegacyLenientSetter ]</h4>
9759
9759
9760
9760
<div class="advisement">
9761
9761
9762
- Specifications should not use [{{LenientSetter }}]
9762
+ Specifications should not use [{{LegacyLenientSetter }}]
9763
9763
unless required for compatibility reasons. Pages have been observed
9764
9764
where authors have attempted to polyfill an IDL attribute by assigning
9765
9765
to the property, but have accidentally done so even if the property
9766
9766
exists. In strict mode, this would cause an exception to be thrown,
9767
- potentially breaking page. Without [{{LenientSetter }}],
9767
+ potentially breaking page. Without [{{LegacyLenientSetter }}],
9768
9768
this could prevent a browser from shipping the feature.
9769
9769
Editors who wish to use this feature are strongly advised to discuss this
9770
- by <a href="https://github.com/heycam/webidl/issues/new?title=Intent%20to%20use%20[LenientSetter ]">filing an issue</a>
9770
+ by <a href="https://github.com/heycam/webidl/issues/new?title=Intent%20to%20use%20[LegacyLenientSetter ]">filing an issue</a>
9771
9771
before proceeding.
9772
9772
9773
9773
<small class="non-normative">
9774
- The [{{LenientSetter }}] [=extended attribute=] appears on
9774
+ The [{{LegacyLenientSetter }}] [=extended attribute=] appears on
9775
9775
the {{Document/fullscreenEnabled}} and {{Document/fullscreenEnabled}} [=attributes=]
9776
9776
of the {{Document}} interface, and on
9777
9777
the {{DocumentOrShadowRoot/fullscreenElement}} [=attribute=]
@@ -9780,40 +9780,40 @@ are to be implemented.
9780
9780
9781
9781
</div>
9782
9782
9783
- If the [{{LenientSetter }}]
9783
+ If the [{{LegacyLenientSetter }}]
9784
9784
[=extended attribute=]
9785
9785
appears on a [=read only=]
9786
9786
[=regular attribute=],
9787
9787
it indicates that a no-op setter will be generated for the attribute’s
9788
9788
accessor property. This results in erroneous assignments to the property
9789
9789
in strict mode to be ignored rather than causing an exception to be thrown.
9790
9790
9791
- The [{{LenientSetter }}] extended attribute
9791
+ The [{{LegacyLenientSetter }}] extended attribute
9792
9792
must [=takes no arguments|take no arguments=].
9793
9793
It must not be used on anything other than
9794
9794
a [=read only=] [=regular attribute=].
9795
9795
9796
- An attribute with the [{{LenientSetter }}]
9796
+ An attribute with the [{{LegacyLenientSetter }}]
9797
9797
extended attribute must not also be declared
9798
9798
with the [{{PutForwards}}]
9799
9799
or [{{Replaceable}}] extended attributes.
9800
9800
9801
- The [{{LenientSetter }}] extended attribute must not be used on an attribute declared on a
9801
+ The [{{LegacyLenientSetter }}] extended attribute must not be used on an attribute declared on a
9802
9802
[=namespace=].
9803
9803
9804
9804
See the <a href="#es-attributes">Attributes</a> section for how
9805
- [{{LenientSetter }}] is to be implemented.
9805
+ [{{LegacyLenientSetter }}] is to be implemented.
9806
9806
9807
9807
<div class="example">
9808
9808
9809
9809
The following IDL fragment defines an interface that uses the
9810
- [{{LenientSetter }}] extended
9810
+ [{{LegacyLenientSetter }}] extended
9811
9811
attribute.
9812
9812
9813
9813
<pre highlight="webidl">
9814
9814
[Exposed=Window]
9815
9815
interface Example {
9816
- [LenientSetter ] readonly attribute DOMString x;
9816
+ [LegacyLenientSetter ] readonly attribute DOMString x;
9817
9817
readonly attribute DOMString y;
9818
9818
};
9819
9819
</pre>
@@ -10322,7 +10322,7 @@ encountered more than once.
10322
10322
10323
10323
An attribute with the [{{PutForwards}}]
10324
10324
extended attribute must not also be declared
10325
- with the [{{LenientSetter }}] or
10325
+ with the [{{LegacyLenientSetter }}] or
10326
10326
[{{Replaceable}}] extended attributes.
10327
10327
10328
10328
The [{{PutForwards}}]
@@ -10398,7 +10398,7 @@ extended attribute must
10398
10398
10399
10399
An attribute with the [{{Replaceable}}]
10400
10400
extended attribute must not also be declared
10401
- with the [{{LenientSetter }}] or
10401
+ with the [{{LegacyLenientSetter }}] or
10402
10402
[{{PutForwards}}] extended attributes.
10403
10403
10404
10404
The [{{Replaceable}}]
@@ -11780,7 +11780,7 @@ in which case they are exposed on every object that [=implements=] the interface
11780
11780
1. Assert: |attribute| is [=read only=].
11781
11781
1. Return <emu-val>undefined</emu-val>.
11782
11782
1. If |attribute| is [=read only=] and does not have a
11783
- [{{LenientSetter }}], [{{PutForwards}}] or [{{Replaceable}}] [=extended attribute=], return
11783
+ [{{LegacyLenientSetter }}], [{{PutForwards}}] or [{{Replaceable}}] [=extended attribute=], return
11784
11784
<emu-val>undefined</emu-val>; there is no [=attribute setter=] function.
11785
11785
1. Assert: |attribute|'s type is not a [=promise type=].
11786
11786
1. Let |steps| be the following series of steps:
@@ -11805,7 +11805,7 @@ in which case they are exposed on every object that [=implements=] the interface
11805
11805
1. Perform [=?=] <a abstract-op>CreateDataProperty</a>(|esValue|, |id|, |V|).
11806
11806
1. Return <emu-val>undefined</emu-val>.
11807
11807
1. If |validThis| is false, then return <emu-val>undefined</emu-val>.
11808
- 1. If |attribute| is declared with a [{{LenientSetter }}] extended attribute, then
11808
+ 1. If |attribute| is declared with a [{{LegacyLenientSetter }}] extended attribute, then
11809
11809
return <emu-val>undefined</emu-val>.
11810
11810
1. If |attribute| is declared with a [{{PutForwards}}] extended attribute, then:
11811
11811
1. Let |Q| be [=?=] <a abstract-op>Get</a>(|esValue|, |id|).
0 commit comments