WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 57698
Web Inspector: introduce support of 'optional' flag for command arguments
https://bugs.webkit.org/show_bug.cgi?id=57698
Summary
Web Inspector: introduce support of 'optional' flag for command arguments
Ilya Tikhonovsky
Reported
2011-04-01 22:27:11 PDT
%subj%
Attachments
[patch] initial version
(11.87 KB, patch)
2011-04-01 22:35 PDT
,
Ilya Tikhonovsky
pfeldman
: review-
Details
Formatted Diff
Diff
[patch] second version
(28.53 KB, patch)
2011-04-02 03:10 PDT
,
Ilya Tikhonovsky
pfeldman
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2011-04-01 22:35:18 PDT
Created
attachment 87968
[details]
[patch] initial version
Pavel Feldman
Comment 2
2011-04-02 00:12:19 PDT
Comment on
attachment 87968
[details]
[patch] initial version View in context:
https://bugs.webkit.org/attachment.cgi?id=87968&action=review
> LayoutTests/ChangeLog:5 > + Web Inspector: introduce support of 'optional' flag for command arguments.
It is not clear from the ChangeLog / perl script what the behavior would be, but here are the requirements as I see then: 1) it should be possible to make any number of parameters optional 2) optional parameters are the ones not transmitted as a part of the message 3) first parameter described could be made optional, not necessarily the last one 4) there should be a way to distinguish between "columnNumber = 0" and "not given optional columnNumber" It sounds like (3) and (4) are not supported. Please explain what you intend to do in the bug like this prior to working on the change to aoid further confusion.
Ilya Tikhonovsky
Comment 3
2011-04-02 03:10:03 PDT
Created
attachment 87973
[details]
[patch] second version test coverage was extended. See changes in report-API-errors.html, report-protocol-errors.html and runtime-agent.html optional arguments are transferred by const pointers. simplest implementation for optional arguments was added to the setBreackpoint* methods. I think we will fix that in another patch.
Ilya Tikhonovsky
Comment 4
2011-04-04 01:34:05 PDT
Committed
r82804
: <
http://trac.webkit.org/changeset/82804
>
WebKit Review Bot
Comment 5
2011-04-04 03:09:51 PDT
http://trac.webkit.org/changeset/82804
might have broken Windows XP Debug (Tests) The following tests are not passing: inspector/extensions/extensions-api.html inspector/extensions/extensions.html
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