Web Inspector: DOM Tree broken if an element has a "debounce" attribute
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Mar 2017 05:18:35 +0000 (05:18 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Mar 2017 05:18:35 +0000 (05:18 +0000)
commit6a32fc3de896570b189ee59172721ea1f5a583f8
treeeb56de91724fb034ef13458c4f517e03a9b585cb
parent403ee78cbf1692a4c255eccf9d0019c5c7ed4b7b
Web Inspector: DOM Tree broken if an element has a "debounce" attribute
https://bugs.webkit.org/show_bug.cgi?id=169336
<rdar://problem/30899430>

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-03-07
Reviewed by Brian Burg.

* UserInterface/Models/DOMNode.js:
(WebInspector.DOMNode):
(WebInspector.DOMNode.prototype.getAttribute):
(WebInspector.DOMNode.prototype.removeAttribute.mycallback):
(WebInspector.DOMNode.prototype.removeAttribute):
Convert the attributes map to an actual Map to avoid name collisions
with Object.prototype properties.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/DOMNode.js