Bug 1457402 [wpt PR 10674] - Remove [LegacyArrayClass], a=testonly
authorAnne van Kesteren <annevk@annevk.nl>
Tue, 01 May 2018 16:09:03 +0000
changeset 472707 adc661b15d27f2b6a873c9558fbca06e22c3ea70
parent 472706 c899f8e1aa46d52da72d9056efb95e40d9d3fe4d
child 472708 7a1b578f9e6000a6af96e257dca8c51962a9f330
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1457402, 10674
milestone61.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 1457402 [wpt PR 10674] - Remove [LegacyArrayClass], a=testonly Automatic update from web-platform-testsRemove [LegacyArrayClass] See https://github.com/w3c/fxtf-drafts/pull/281 and https://github.com/heycam/webidl/pull/551. -- wpt-commits: 43dd25c888da9b903cedeb3bb5b8a832b2d51b97 wpt-pr: 10674
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/interfaces/geometry.idl
testing/web-platform/tests/resources/idlharness.js
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -579982,17 +579982,17 @@
    "89fa62f6e0d1fdb497ce6550804b57a5d4ee0d0f",
    "support"
   ],
   "interfaces/geolocation-sensor.idl": [
    "7f5defe8969fd21ed1b8eeaedc9a766cb4b695c1",
    "support"
   ],
   "interfaces/geometry.idl": [
-   "9aae8525ee6b27797783495e8d918892ee857a78",
+   "c757c625c0f5df3d677b5646bef04ac7075dbb64",
    "support"
   ],
   "interfaces/gyroscope.idl": [
    "7c37c98eb39d994a89314c45c216bcb27b51f2d1",
    "support"
   ],
   "interfaces/hr-time.idl": [
    "db4f313176e4fdfb8efd78545079da42cbb0729b",
--- a/testing/web-platform/tests/interfaces/geometry.idl
+++ b/testing/web-platform/tests/interfaces/geometry.idl
@@ -75,17 +75,16 @@ interface DOMRect : DOMRectReadOnly {
 
 dictionary DOMRectInit {
     unrestricted double x = 0;
     unrestricted double y = 0;
     unrestricted double width = 0;
     unrestricted double height = 0;
 };
 
-[LegacyArrayClass]
 interface DOMRectList {
     readonly attribute unsigned long length;
     getter DOMRect? item(unsigned long index);
 };
 
 [Constructor(optional DOMPointInit p1, optional DOMPointInit p2,
              optional DOMPointInit p3, optional DOMPointInit p4),
  Exposed=(Window,Worker),
--- a/testing/web-platform/tests/resources/idlharness.js
+++ b/testing/web-platform/tests/resources/idlharness.js
@@ -1508,18 +1508,16 @@ IdlInterface.prototype.test_self = funct
         // internal [[Prototype]] property whose value is returned from the
         // following steps:
         // "If A is declared with the [Global] extended
         // attribute, and A supports named properties, then return the named
         // properties object for A, as defined in ยง3.6.4 Named properties
         // object.
         // "Otherwise, if A is declared to inherit from another interface, then
         // return the interface prototype object for the inherited interface.
-        // "Otherwise, if A is declared with the [LegacyArrayClass] extended
-        // attribute, then return %ArrayPrototype%.
         // "Otherwise, return %ObjectPrototype%.
         //
         // "In the ECMAScript binding, the DOMException type has some additional
         // requirements:
         //
         //     "Unlike normal interface types, the interface prototype object
         //     for DOMException must have as its [[Prototype]] the intrinsic
         //     object %ErrorPrototype%."
@@ -1532,19 +1530,16 @@ IdlInterface.prototype.test_self = funct
         } else {
             var inherit_interface, inherit_interface_has_interface_object;
             if (this.base) {
                 inherit_interface = this.base;
                 inherit_interface_has_interface_object =
                     !this.array
                          .members[inherit_interface]
                          .has_extended_attribute("NoInterfaceObject");
-            } else if (this.has_extended_attribute('LegacyArrayClass')) {
-                inherit_interface = 'Array';
-                inherit_interface_has_interface_object = true;
             } else if (this.name === "DOMException") {
                 inherit_interface = 'Error';
                 inherit_interface_has_interface_object = true;
             } else {
                 inherit_interface = 'Object';
                 inherit_interface_has_interface_object = true;
             }
             if (inherit_interface_has_interface_object) {