特性名取得子

特性名取得子

仕様書

性質

[9] supported property names により作られる特性は、 列挙可能が基本ですが、列挙不能なこともあります。

supported property names が定義されているインターフェイス

x
インターフェイス
getter
named getter
enumerable
列挙可能
arraylike
配列風インターフェイス
legacycaller
legacycaller
x
JavaScript Object
getter
(○)
enumerable
x
DOMStringMap HTML Standard
x
HTMLCollection DOM Standard
enumerable
×
arraylike
x
HTMLAllCollection HTML Standard
enumerable
×
arraylike
legacycaller
x
HTMLFormControlsCollection HTML Standard
enumerable
×
arraylike
x
HTMLOptionsCollection HTML Standard
enumerable
×
arraylike
x
Document HTML Standard
x
HTMLFormElement HTML Standard
enumerable
×
arraylike
x
Window HTML Standard
arraylike
enumerable
×
x
PluginArray HTML Standard
getter
namedItem
enumerable
×
arraylike
x
Plugin HTML Standard
getter
namedItem
enumerable
×
arraylike
x
MimeTypeArray HTML Standard
getter
namedItem
enumerable
×
arraylike
x
Storage HTML Standard
getter
getItem
x
CSSStyleDeclaration
arraylike
x
HTMLPropertiesCollection HTML Standard (廃止)
enumerable
×
arraylike
x
DOMElementMap HTML Standard (廃止)

歴史

[1] Web Applications 1.0 r8010 Make the empty string no longer be a possible index for most objects that can be indexed by name. ( ( 版)) http://html5.org/tools/web-apps-tracker?from=8009&to=8010

[3] Re: Violations of internal method invariants? ( (Boris Zbarsky 著, 版)) http://lists.w3.org/Archives/Public/public-script-coord/2014JulSep/0140.html

[4] Merge pull request #45 from bzbarsky/introduce-set-trap · 8d06953 · heycam/webidl ( 版) https://github.com/heycam/webidl/commit/8d069531d2bf4e794b53bc496a4499af9d124bc9

[5] Re: Defining a [[Set]] internal method for platform objects (Boris Zbarsky 著, 版) https://lists.w3.org/Archives/Public/public-script-coord/2015JanMar/0196.html

[6] Web Applications 1.0 r6136 Add some warnings in areas where the spec might change based on implementation changes. ( ( 版)) http://html5.org/tools/web-apps-tracker?from=6135&to=6136

[7] Bug 6036 – HTMLCollection.namedItem() should look for non-HTML elements ( ( 版)) https://www.w3.org/Bugs/Public/show_bug.cgi?id=6036

[8] Define HTMLCollection's named properties better. Also widen the element-... · 1400a64 · whatwg/dom ( ( 版)) https://github.com/whatwg/dom/commit/1400a64aff1f2155f9cfa935624b4bfbc4f7c66b

[10] Fix #141: NamedNodeMap's supported property names should not contain … · whatwg/dom@5dbefd1 ( 版) https://github.com/whatwg/dom/commit/5dbefd1035c5528e236a8b13dabcbd6c649e2d3e

[11] Formalize custom element reactions · whatwg/html@27aa7bc ( 版) https://github.com/whatwg/html/commit/27aa7bc4fa6f168654a8c858f0773e611f679b39

[12] Clean up named and indexed property algorithm definitions ( (domenic著, )) https://github.com/whatwg/html/commit/9b4394f9a03d6910b772f17252259d99f208ce73

[13] Make Window and Document named/indexed properties exclude shadow trees (domenic著, ) https://github.com/whatwg/html/commit/7b567729ac3cc66b074b0df53138c353ec540bb9

[14] 22320 – Form's supported property names should perhaps not be enumerable () https://www.w3.org/Bugs/Public/show_bug.cgi?id=22320

[15] Change to named property visibility algorithm. (#174) (bzbarsky著, ) https://github.com/heycam/webidl/commit/9ea873f9be2c5c74967f4a8019f2c86bfb715236

[16] Make [[PreventExtensions]] fail for objects w/ named/indexed props. (#… (tobie著, ) https://github.com/heycam/webidl/commit/917525e5ffdeafe31f580786767b326554139499

[17] Add legacy platform objects. (#230) (tobie著, ) https://github.com/heycam/webidl/commit/379685767dce3f953e187a2a8f3cb492b9b56649

[18] Editorial: objects support named/index properties by extension (#273) (tobie著, ) https://github.com/heycam/webidl/commit/ca94c43fe04faa35cc6c5f3ad3dce45226df3055

[19] Remove <applet> (zcorpan著, ) https://github.com/whatwg/html/commit/b9b9d60f9451c05f8e8d542e4094f987ae1a5fb8

[20] <a> and <area> are not window named objects (ayg著, ) https://github.com/whatwg/html/commit/9c209523143cb97551799e185e2a5d2750854bda

[21] <a> and <area> are not window named objects by annevk · Pull Request #3013 · whatwg/html () https://github.com/whatwg/html/pull/3013

[22] Check ignoreNamedProps before the named property visibility algorithm. (Ms2ger著, ) https://github.com/heycam/webidl/commit/a9673c81278bb46643b4177ff82dc1d4aab64c93

[23] Check ignoreNamedProps before the named property visibility algorithm. by Ms2ger · Pull Request #625 · heycam/webidl () https://github.com/heycam/webidl/pull/625

[24] Editorial: Shorten the conditions in the [[Set]] algorithm (Ms2ger著, ) https://github.com/heycam/webidl/commit/059491b4de91fdc45d26d9f2c48a6a6a0c3eb3e6

[25] Editorial: Shorten the conditions in the [[Set]] algorithm by Ms2ger · Pull Request #713 · heycam/webidl () https://github.com/heycam/webidl/pull/713

[26] Remove a check for array index in [[Set]] (Ms2ger著, ) https://github.com/heycam/webidl/commit/a395a59dcfa6cae77cb5c5647b25baeec09db5e5

[27] Remove a check for array index in [[Set]] by Ms2ger · Pull Request #706 · heycam/webidl () https://github.com/heycam/webidl/pull/706

[28] CEA-2014-B