WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
57440
Web Inspector: Make the getStylesForNode result "styleAttributes" value an array rather than a map
https://bugs.webkit.org/show_bug.cgi?id=57440
Summary
Web Inspector: Make the getStylesForNode result "styleAttributes" value an ar...
Alexander Pavlov (apavlov)
Reported
2011-03-30 03:44:00 PDT
Having a map instead of an array does not enable us to define the object keys domain, and also prevents a proper documentation of the data types in Inspector.json
Attachments
[PATCH] Suggested solution
(6.52 KB, patch)
2011-03-30 04:52 PDT
,
Alexander Pavlov (apavlov)
pfeldman
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexander Pavlov (apavlov)
Comment 1
2011-03-30 04:52:57 PDT
Created
attachment 87502
[details]
[PATCH] Suggested solution
WebKit Review Bot
Comment 2
2011-03-30 04:55:09 PDT
Attachment 87502
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/insp..." exit_code: 1 Source/WebCore/inspector/InspectorCSSAgent.h:94: The parameter name "element" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexander Pavlov (apavlov)
Comment 3
2011-03-30 06:39:15 PDT
Landed with a style fix. Committing to
http://svn.webkit.org/repository/webkit/trunk
... M LayoutTests/ChangeLog M LayoutTests/inspector/styles/styles-new-API.html M Source/WebCore/ChangeLog M Source/WebCore/inspector/InspectorCSSAgent.cpp M Source/WebCore/inspector/InspectorCSSAgent.h M Source/WebCore/inspector/front-end/CSSStyleModel.js Committed
r82433
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug