WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
110164
Web Inspector: provide the id of associated nodes for layers when calling InspectorLayerTreeAgent::getLayerTree()
https://bugs.webkit.org/show_bug.cgi?id=110164
Summary
Web Inspector: provide the id of associated nodes for layers when calling Ins...
Antoine Quint
Reported
2013-02-18 16:03:16 PST
Right now, the layer tree provided by InspectorLayerTreeAgent::getLayerTree() only lists layer ids, but not the id of the layer's associated node. In order to get that id, the front-end needs to call InspectorLayerTreeAgent::nodeIdForLayerId(). However, the frequency of "layerTreeDidChange" events might be high enough that the resulting calls to getLayerTree() and subsequent calls to nodeIdForLayerId() would have the unexpected impacts of obtaining the node ids for layers that were reported too long ago and the layer tree has already changed significantly. We should let getLayerTree() report node IDs in the returned object without pushing the nodes to the front-end. That way the front-end will be able to use that information without having to request information from the backend with the latency involved.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-02-18 16:03:57 PST
<
rdar://problem/13239602
>
Antoine Quint
Comment 2
2013-02-20 16:50:26 PST
Closing this since the bigger changes I plan to make in
https://bugs.webkit.org/show_bug.cgi?id=110407
encompass this task.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug