RESOLVED FIXED 126377
Web Inspector: Frontend has no support for memory
https://bugs.webkit.org/show_bug.cgi?id=126377
Summary Web Inspector: Frontend has no support for memory
Seokju Kwon
Reported 2014-01-02 00:24:10 PST
Remove protocol and agent code of memory.
Attachments
Patch (29.59 KB, patch)
2014-01-02 00:28 PST, Seokju Kwon
joepeck: review-
Radar WebKit Bug Importer
Comment 1 2014-01-02 00:24:51 PST
Seokju Kwon
Comment 2 2014-01-02 00:28:57 PST
Joseph Pecoraro
Comment 3 2014-01-06 11:08:01 PST
Comment on attachment 220211 [details] Patch Although the frontend does not use it, if we did would getDOMCounters be correct? It looks like it would be. Maybe instead of removing this domain we could make use of that data. That said, "MemoryBlock" doesn't look like it is used at all. Memory instrumentation is certainly something we will want to add to the inspection. We will probably reimplement it anyways, and if we do go through and remove this implementation here we can dig up this old code. For starters, r- this code now anyways because if we did remove it there is even more code that we should remove (the counter tracking itself!): platform/ThreadGlobalData.h 43: class ThreadLocalInspectorCounters; 70: ThreadLocalInspectorCounters& inspectorCounters() { return *m_inspectorCounters; } 91: OwnPtr<ThreadLocalInspectorCounters> m_inspectorCounters; inspector/InspectorCounters.cpp 61: return threadGlobalData().inspectorCounters(); bindings/js/JSEventListener.cpp 55: ThreadLocalInspectorCounters::current().incrementCounter(ThreadLocalInspectorCounters::JSEventListenerCounter); 62: ThreadLocalInspectorCounters::current().decrementCounter(ThreadLocalInspectorCounters::JSEventListenerCounter);
Timothy Hatcher
Comment 4 2014-01-08 13:40:17 PST
Comment on attachment 220211 [details] Patch Yeah, lets leave getDOMCounters. Maybe moving it to the Page domain would be better?
Timothy Hatcher
Comment 5 2015-08-27 16:07:42 PDT
Note You need to log in before you can comment on or make changes to this bug.