Bug 1270364. MimeTypeArray should have unenumerable named properties per spec. r=bkelly
authorBoris Zbarsky <bzbarsky@mit.edu>
Wed, 31 Aug 2016 10:57:40 -0400
changeset 350579 3a28c54656b33b471550a40af91481f66f48b518
parent 350578 4d7cf1d3124cc24ceed1aaa6b9a73131ef891e47
child 350580 593a22cf5376ca1248fb7c0d2ff9d3447368067b
push id10621
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 16:02:43 +0000
treeherdermozilla-aurora@dca7b42e6c67 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbkelly
bugs1270364
milestone53.0a1
Bug 1270364. MimeTypeArray should have unenumerable named properties per spec. r=bkelly
dom/webidl/MimeTypeArray.webidl
--- a/dom/webidl/MimeTypeArray.webidl
+++ b/dom/webidl/MimeTypeArray.webidl
@@ -1,15 +1,13 @@
 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-// [LegacyUnenumerableNamedProperties]
-// Named properties enumerable for now; see
-// https://bugzilla.mozilla.org/show_bug.cgi?id=1270364
+[LegacyUnenumerableNamedProperties]
 interface MimeTypeArray {
   readonly attribute unsigned long length;
 
   getter MimeType? item(unsigned long index);
   getter MimeType? namedItem(DOMString name);
 };