Skip to content

Commit

Permalink
Remove [LegacyArrayClass]
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Apr 27, 2018
1 parent c70b18e commit 6e8c89b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion interfaces/geometry.idl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ dictionary DOMRectInit {
unrestricted double height = 0;
};

[LegacyArrayClass]
interface DOMRectList {
readonly attribute unsigned long length;
getter DOMRect? item(unsigned long index);
Expand Down
5 changes: 0 additions & 5 deletions resources/idlharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -1513,8 +1513,6 @@ IdlInterface.prototype.test_self = function()
// 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
Expand All @@ -1537,9 +1535,6 @@ IdlInterface.prototype.test_self = function()
!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;
Expand Down

0 comments on commit 6e8c89b

Please sign in to comment.