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 527667 c494ab0b6fab0dd339b7ca6fc13c36ad56e19568
parent 527666 0f3c24ba4e85c00ead3a93cea27749ee364e9eb7
child 527668 2eca04192a410cfe9f49a271f670cffcab7cfe80
push id37368
push userbtara@mozilla.com
push dateFri, 01 May 2020 21:45:51 +0000
treeherdermozilla-central@0f9c5a59e45d [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");
     }