Bug 1632580 [wpt PR 23207] - Update interfaces/fullscreen.idl, a=testonly

Automatic update from web-platform-tests
Update interfaces/fullscreen.idl (#23207)

Includes necessary idlharness.js updates for
https://github.com/web-platform-tests/wpt/issues/23148

Closes https://github.com/web-platform-tests/wpt/pull/23128
--

wpt-commits: 7b4b5b84caae9e748eb13fda010d48a6a874e5a4
wpt-pr: 23207
This commit is contained in:
Stephen McGruer 2020-04-28 11:45:38 +00:00 коммит произвёл moz-wptsync-bot
Родитель 9a87c19720
Коммит 810c4c8e98
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -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();
@ -31,5 +31,5 @@ partial interface Document {
};
partial interface mixin DocumentOrShadowRoot {
[LenientSetter] readonly attribute Element? fullscreenElement;
[LegacyLenientSetter] readonly attribute Element? fullscreenElement;
};

Просмотреть файл

@ -3088,6 +3088,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"))
{