RESOLVED FIXED 65110
Web Inspector: use dedicated type for object id in the protocol.
https://bugs.webkit.org/show_bug.cgi?id=65110
Summary Web Inspector: use dedicated type for object id in the protocol.
Pavel Feldman
Reported 2011-07-25 07:45:54 PDT
Patch to follow.
Attachments
Patch (16.16 KB, patch)
2011-07-25 07:51 PDT, Pavel Feldman
no flags
Patch (16.94 KB, patch)
2011-07-25 08:07 PDT, Pavel Feldman
yurys: review+
Pavel Feldman
Comment 1 2011-07-25 07:51:46 PDT
WebKit Review Bot
Comment 2 2011-07-25 07:54:27 PDT
Attachment 101868 [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/InjectedScript.cpp:66: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Source/WebCore/inspector/InjectedScript.h:59: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Total errors found: 2 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yury Semikhatsky
Comment 3 2011-07-25 07:59:00 PDT
Comment on attachment 101868 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=101868&action=review > Source/WebCore/inspector/InjectedScriptSource.js:289 > + args = JSON.parse(args); JSON.parse may be overriden, use safe eval. > Source/WebCore/inspector/InjectedScriptSource.js:304 > + return "Call argument should either contain object id or value property."; Please add undefined argument handling.
Pavel Feldman
Comment 4 2011-07-25 08:07:56 PDT
Pavel Feldman
Comment 5 2011-07-25 08:11:00 PDT
Csaba Osztrogonác
Comment 6 2011-07-26 08:40:54 PDT
Pavel Feldman
Comment 7 2011-07-26 09:16:54 PDT
(In reply to comment #6) > inspector/console/console-format.html fails after https://trac.webkit.org/changeset/91749 : > http://build.webkit.org/results/Qt%20Linux%20Release/r91750%20%2835770%29/inspector/console/console-format-pretty-diff.html > > Could you check it, please? Needs rebaseline. Moment.
Note You need to log in before you can comment on or make changes to this bug.