Skip to content

Commit

Permalink
Update interfaces/fullscreen.idl
Browse files Browse the repository at this point in the history
Includes necessary idlharness.js updates for
#23148

Closes #23128
  • Loading branch information
stephenmcgruer committed Apr 23, 2020
1 parent d3339d0 commit 31ace08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interfaces/fullscreen.idl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ partial interface Element {
};

partial interface Document {
[LenientSetter] readonly attribute boolean fullscreenEnabled;
[LenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical
[LegacyLenientSetter] readonly attribute boolean fullscreenEnabled;
[LegacyLenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical

Promise<void> exitFullscreen();

Expand All @@ -31,5 +31,5 @@ partial interface Document {
};

partial interface mixin DocumentOrShadowRoot {
[LenientSetter] readonly attribute Element? fullscreenElement;
[LegacyLenientSetter] readonly attribute Element? fullscreenElement;
};
1 change: 1 addition & 0 deletions resources/idlharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -3084,6 +3084,7 @@ IdlInterface.prototype.do_interface_attribute_asserts = function(obj, member, a_
// TypeError in most cases).
if (member.readonly
&& !member.has_extended_attribute("LenientSetter")
&& !member.has_extended_attribute("LegacyLenientSetter")
&& !member.has_extended_attribute("PutForwards")
&& !member.has_extended_attribute("Replaceable"))
{
Expand Down

0 comments on commit 31ace08

Please sign in to comment.