New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit 16 days ago
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Implement 'getAttributeNames() of Element interface

Project Member Reported by tkent@chromium.org, May 30 2017

Issue description

Chrome Version: 61 Canary
OS: All but iOS

What steps will reproduce the problem?
(1) Open any HTML page
(2) Open DevTools console
(3) Type 'document.body.getAttributeNames()'

What is the expected result?
Show an array.

What happens instead?
Uncaught TypeError: document.body.getAttributeNames is not a function

Please use labels and text to provide additional information.

https://dom.spec.whatwg.org/#dom-element-getattributenames

Edge: No support
Firefox: Shipped
Safari: Shipped

 

Comment 2 Deleted

Owner: shanmug...@samsung.com
Status: Assigned (was: Available)
Status: Started (was: Assigned)
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6

commit f08b6088f9c359d3fc6862b26ac136c4dbe10fe6
Author: shanmuga.m <shanmuga.m@samsung.com>
Date: Fri Jun 09 07:13:45 2017

Add support for Element.getAttributeNames()

Spec:
https://dom.spec.whatwg.org/#dom-element-getattributenames

Intent to implement and ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/s0pPWgyGexg

Webkit patch:
https://trac.webkit.org/changeset/203852/webkit

BUG= 727433 

Review-Url: https://codereview.chromium.org/2912383002
Cr-Commit-Position: refs/heads/master@{#478220}

[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt
[delete] https://crrev.com/f054cd0787297aa08098edb9dcc2cdde7cc03fc4/third_party/WebKit/LayoutTests/external/wpt/dom/interfaces-expected.txt
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/attributes-expected.txt
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/LayoutTests/virtual/stable/webexposed/element-instance-property-listing-expected.txt
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/LayoutTests/webexposed/element-instance-property-listing-expected.txt
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/Source/core/dom/Element.cpp
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/Source/core/dom/Element.h
[modify] https://crrev.com/f08b6088f9c359d3fc6862b26ac136c4dbe10fe6/third_party/WebKit/Source/core/dom/Element.idl

Comment 6 by tkent@chromium.org, Jun 9 2017

Labels: M-61
Status: Fixed (was: Started)

Comment 7 Deleted

Sign in to add a comment