RESOLVED FIXED 61529
Web Inspector: TimelinePanel should not modify input timeline data when processing timeline event
https://bugs.webkit.org/show_bug.cgi?id=61529
Summary Web Inspector: TimelinePanel should not modify input timeline data when proce...
Andrey Kosyakov
Reported 2011-05-26 07:48:36 PDT
We don't want TimelinePanel._addRecordToTimeline to have any side effects on the source event data, as the data may be dispatched further (e.g. to extensions, see bug 61098).
Attachments
patch (15.08 KB, patch)
2011-05-26 07:51 PDT, Andrey Kosyakov
no flags
patch (14.95 KB, patch)
2011-05-26 09:03 PDT, Andrey Kosyakov
yurys: review+
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-01 (1.23 MB, application/zip)
2011-05-26 09:27 PDT, WebKit Review Bot
no flags
Andrey Kosyakov
Comment 1 2011-05-26 07:51:21 PDT
Ilya Tikhonovsky
Comment 2 2011-05-26 08:07:12 PDT
Comment on attachment 94974 [details] patch lgtm
Yury Semikhatsky
Comment 3 2011-05-26 08:46:34 PDT
Comment on attachment 94974 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=94974&action=review > Source/WebCore/inspector/front-end/TimelinePanel.js:359 > + } ; is missing. > Source/WebCore/inspector/front-end/TimelinePanel.js:360 > + children = record.children.slice(1).concat(record.children); This line is somewhat different from what it used to be. > Source/WebCore/inspector/front-end/TimelinePanel.js:1027 > + _getRecordDetails: function(sendRequestRecords) The parameter is unused, please remove it here and in _refreshDetails
Andrey Kosyakov
Comment 4 2011-05-26 09:03:04 PDT
Created attachment 94983 [details] patch - fixed children flattening for function calls - removed unused parameter from _refreshDetails/_getRecordDetauls()
WebKit Review Bot
Comment 5 2011-05-26 09:27:18 PDT
Comment on attachment 94983 [details] patch Attachment 94983 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8733982 New failing tests: inspector/timeline/timeline-network-resource.html
WebKit Review Bot
Comment 6 2011-05-26 09:27:22 PDT
Created attachment 94988 [details] Archive of layout-test-results from ec2-cr-linux-01 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-01 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Andrey Kosyakov
Comment 7 2011-05-26 09:38:25 PDT
A variation of patch committed manually as r87395: http://trac.webkit.org/changeset/87395 (fixed script name/line for non-timer events, rebaselined custom test expectation for chromium/linux)
Note You need to log in before you can comment on or make changes to this bug.