Bug 52731 - Web Inspector: further simplify InspectorState.
Summary: Web Inspector: further simplify InspectorState.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 12:17 PST by Pavel Feldman
Modified: 2011-01-20 05:21 PST (History)
13 users (show)

See Also:


Attachments
[PATCH] Proposed change (19.02 KB, patch)
2011-01-19 12:19 PST, Pavel Feldman
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2011-01-19 12:17:45 PST
This change moved XHR logging flag into console agent, removes InspectorState pushing to the front-end.
Comment 1 Pavel Feldman 2011-01-19 12:19:59 PST
Created attachment 79463 [details]
[PATCH] Proposed change
Comment 2 WebKit Review Bot 2011-01-19 12:21:42 PST
Attachment 79463 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1

Source/WebCore/inspector/InspectorConsoleAgent.h:73:  The parameter name "enabled" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebCore/inspector/InspectorState.h:75:  The parameter name "value" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebCore/inspector/InspectorState.h:81:  The parameter name "propertyId" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebCore/inspector/InspectorState.h:82:  The parameter name "propertyId" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebCore/inspector/InspectorState.h:83:  The parameter name "propertyId" adds no information, so it should be removed.  [readability/parameter_name] [5]
Source/WebCore/inspector/InspectorState.h:84:  The parameter name "propertyId" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 6 in 9 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Ilya Tikhonovsky 2011-01-19 12:40:41 PST
Comment on attachment 79463 [details]
[PATCH] Proposed change

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

> Source/WebCore/ChangeLog:9
> +        removes InspectorState pushing to the front-end.No new tests. (OOPS!)

Nit: please fix.

looks good to me
Comment 4 Yury Semikhatsky 2011-01-20 04:43:23 PST
Comment on attachment 79463 [details]
[PATCH] Proposed change

Please fix style errors and ChangeLog description before landing.
Comment 5 Pavel Feldman 2011-01-20 04:50:03 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	Source/WebCore/ChangeLog
	M	Source/WebCore/inspector/Inspector.idl
	M	Source/WebCore/inspector/InspectorConsoleAgent.cpp
	M	Source/WebCore/inspector/InspectorConsoleAgent.h
	M	Source/WebCore/inspector/InspectorController.cpp
	M	Source/WebCore/inspector/InspectorController.h
	M	Source/WebCore/inspector/InspectorState.cpp
	M	Source/WebCore/inspector/InspectorState.h
	M	Source/WebCore/inspector/front-end/ConsoleView.js
	M	Source/WebCore/inspector/front-end/inspector.js
Committed r76230
Comment 6 WebKit Review Bot 2011-01-20 05:21:08 PST
http://trac.webkit.org/changeset/76230 might have broken Qt Linux Release