[Webkit-unassigned] [Bug 45227] when opening the inspector with a node to inspect, it's not focused.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 4 06:14:25 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=45227





--- Comment #1 from arno. <arno at renevier.net>  2010-09-04 06:14:25 PST ---
Created an attachment (id=66583)
 --> (https://bugs.webkit.org/attachment.cgi?id=66583)
patch v1

This happens because InspectorController::focusNode is called before InspectorDOMAgent::setDocument
then, in javascript method WebInspector.DOMAgent.nodeForId, this._idToDOMNode is null, and this._idToDOMNode[nodeId] throws an exception. Here is a fix proposal: call InspectorController::focusNode after, InspectorDOMAgent::setDocument.
There is no more js exception, and selected node is focused.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list