Bug 52204

Summary: Web Inspector: innerFirstChild has a side effect which should be done explicitly.
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[patch] initial version. none

Ilya Tikhonovsky
Reported 2011-01-11 05:34:08 PST
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.
Attachments
[patch] initial version. (4.03 KB, patch)
2011-01-11 05:42 PST, Ilya Tikhonovsky
no flags
Ilya Tikhonovsky
Comment 1 2011-01-11 05:42:03 PST
Created attachment 78520 [details] [patch] initial version.
Pavel Feldman
Comment 2 2011-01-11 05:59:07 PST
Comment on attachment 78520 [details] [patch] initial version. View in context: https://bugs.webkit.org/attachment.cgi?id=78520&action=review > Source/WebCore/inspector/InspectorDOMAgent.cpp:271 > +void InspectorDOMAgent::startListeningFrameDoc(Node* frameOwnerNode) startListeningContentDocument?
Ilya Tikhonovsky
Comment 3 2011-01-11 06:14:13 PST
Committed r75495 M Source/WebCore/ChangeLog M Source/WebCore/inspector/InspectorDOMAgent.h M Source/WebCore/inspector/InspectorDOMAgent.cpp r75495 = 170e93b8362250788cc1a6e19e46e50d587729e8 (refs/remotes/trunk)
Note You need to log in before you can comment on or make changes to this bug.