2011-01-11 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: innerFirstChild has a side effect which should be called explicitly.
If a node is a frame's owner then innerFirstChild method
subscribes DOMAgent instance to the frame's doc's events.
I think this should be done explicitly when we meet with
the node for the first time. As I understand it happens
in buildArrayForContainerChildren method.
https://bugs.webkit.org/show_bug.cgi?id=52204
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::startListeningFrameDoc):
(WebCore::InspectorDOMAgent::buildArrayForContainerChildren):
(WebCore::InspectorDOMAgent::innerFirstChild):
* inspector/InspectorDOMAgent.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75495
268f45cc-cd09-0410-ab3c-
d52691b4dbfc