All InspectorAgents are given an InspectorState object, but we don't use the restore functionality. So we should remove the added complexity. However, many of the agent's store legitimate state on m_state. Convert all plain data type / String InspectorState uses to member variables. Next step will be handling the few remaining InspectorObjects.
<rdar://problem/15356682>
Created attachment 215569 [details] [PATCH] Proposed Fix
Comment on attachment 215569 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=215569&action=review > Source/WebCore/inspector/InspectorDOMDebuggerAgent.cpp:70 > namespace DOMDebuggerAgentState { > static const char eventListenerBreakpoints[] = "eventListenerBreakpoints"; > -static const char pauseOnAllXHRs[] = "pauseOnAllXHRs"; > static const char xhrBreakpoints[] = "xhrBreakpoints"; > } Why can't the rest be removed?
Comment on attachment 215569 [details] [PATCH] Proposed Fix Clearing flags on attachment: 215569 Committed r158331: <http://trac.webkit.org/changeset/158331>
All reviewed patches have been landed. Closing bug.