Web Inspector: bind entire subtree upon childNodeInserted so that text node were...
authorpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 16:42:23 +0000 (16:42 +0000)
committerpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 16:42:23 +0000 (16:42 +0000)
commit98514abecb414cf23393ecb915538844bdb93dd5
tree99f39e95bc350c755836ca07ff0384aae07e3661
parent41c2565c08b388b7d04b2a9734cd3d99b2b5c7d8
Web Inspector: bind entire subtree upon childNodeInserted so that text node were accounted.
https://bugs.webkit.org/show_bug.cgi?id=78116

Reviewed by Yury Semikhatsky.

Source/WebCore:

* inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode):
(WebInspector.DOMDocument):
(WebInspector.DOMAgent.prototype._setDocument):
(WebInspector.DOMAgent.prototype._setDetachedRoot):
(WebInspector.DOMAgent.prototype._setChildNodes):
(WebInspector.DOMAgent.prototype._childNodeRemoved):
(WebInspector.DOMAgent.prototype._unbind):

LayoutTests:

* inspector/elements/insert-node-expected.txt:
* inspector/elements/insert-node.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/elements/insert-node-expected.txt
LayoutTests/inspector/elements/insert-node.html
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/DOMAgent.js