Bug 52429

Summary: Web Inspector: extract InspectorSettings from InspectorState, simplify it.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, apavlov, bweinstein, eric, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed change yurys: review+

Description Pavel Feldman 2011-01-14 00:37:13 PST
Patch to follow.
Comment 1 Pavel Feldman 2011-01-14 00:43:42 PST
Created attachment 78900 [details]
[PATCH] Proposed change
Comment 2 Yury Semikhatsky 2011-01-14 00:52:40 PST
Comment on attachment 78900 [details]
[PATCH] Proposed change

View in context: https://bugs.webkit.org/attachment.cgi?id=78900&action=review

> Source/WebCore/inspector/InspectorController.cpp:194
>  {

These 4 methods should live in the WebKit layer.

> Source/WebCore/inspector/InspectorController.cpp:852
> +    m_state->setBoolean(InspectorState::monitoringXHR, m_settings->getBoolean(InspectorSettings::MonitoringXHREnabled));

How will corresponding setting be changed when this property is modified on the state?
Comment 3 Pavel Feldman 2011-01-14 01:05:42 PST
(In reply to comment #2)
> (From update of attachment 78900 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=78900&action=review
> 
> > Source/WebCore/inspector/InspectorController.cpp:194
> >  {
> 
> These 4 methods should live in the WebKit layer.
> 

Yes, I remember you wanted to do that properly.

> > Source/WebCore/inspector/InspectorController.cpp:852
> > +    m_state->setBoolean(InspectorState::monitoringXHR, m_settings->getBoolean(InspectorSettings::MonitoringXHREnabled));
> 
> How will corresponding setting be changed when this property is modified on the state?

See line 468.
Comment 4 Pavel Feldman 2011-01-14 01:48:29 PST
Landed as r75777.
Comment 5 WebKit Review Bot 2011-01-14 01:57:54 PST
http://trac.webkit.org/changeset/75777 might have broken GTK Linux 64-bit Debug