[Webkit-unassigned] [Bug 17896] Inspector console should autocomplete the id's in the document when completing document.getElementById
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 3 05:50:34 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=17896
--- Comment #11 from Pavel Feldman <pfeldman at chromium.org> 2012-10-03 05:50:58 PST ---
> Hi, I'm not a WebKit committer or anything, but this feature looked interesting so I had a quick look through it, sorry if this comes across naive but instead of clearing the cached queries every 30 seconds would it be worth using DOM Mutation Events (http://www.w3.org/TR/DOM-Level-2-Events/events.html) or Mutation Observers to detect changes to the DOM and then clear the cache?
This patch and the approach is slightly out of date. We no longer like doing non-formatting JavaScript in the context of running page. I would expose "idsForInspector" on the DocumentOrderedMap and would fetch all ids at the time they are needed.
--
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