Bug 1632580 [wpt PR 23207] - Update interfaces/fullscreen.idl, a=testonly
authorStephen McGruer <smcgruer@chromium.org>
Tue, 28 Apr 2020 11:45:38 +0000
changeset 527290 65842dd31fb2f0b8b2b7087fb7f27a63e4e501f0
parent 527289 96ac9981ce2cf03cc8de884788bd30785679006e
child 527291 822bd0461851e3ec2da7b8901eee283607c4846c
push id114648
push userwptsync@mozilla.com
push dateThu, 30 Apr 2020 19:15:02 +0000
treeherderautoland@2545233d9410 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1632580, 23207, 23148, 23128
milestone77.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
testing/web-platform/tests/interfaces/fullscreen.idl
testing/web-platform/tests/resources/idlharness.js
--- a/testing/web-platform/tests/interfaces/fullscreen.idl
+++ b/testing/web-platform/tests/interfaces/fullscreen.idl
@@ -16,20 +16,20 @@ dictionary FullscreenOptions {
 partial interface Element {
   Promise<void> requestFullscreen(optional FullscreenOptions options = {});
 
   attribute EventHandler onfullscreenchange;
   attribute EventHandler onfullscreenerror;
 };
 
 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();
 
   attribute EventHandler onfullscreenchange;
   attribute EventHandler onfullscreenerror;
 };
 
 partial interface mixin DocumentOrShadowRoot {
-  [LenientSetter] readonly attribute Element? fullscreenElement;
+  [LegacyLenientSetter] readonly attribute Element? fullscreenElement;
 };
--- a/testing/web-platform/tests/resources/idlharness.js
+++ b/testing/web-platform/tests/resources/idlharness.js
@@ -3083,16 +3083,17 @@ IdlInterface.prototype.do_interface_attr
     assert_equals(desc.get.name, "get " + member.name,
         "getter must have the name 'get " + member.name + "'");
 
 
     // TODO: Test calling setter on the interface prototype (should throw
     // 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"))
     {
         // "The attribute setter is undefined if the attribute is declared
         // readonly and has neither a [PutForwards] nor a [Replaceable]
         // extended attribute declared on it."
         assert_equals(desc.set, undefined, "setter must be undefined for readonly attributes");
     }