RESOLVED FIXED 68541
Web Inspector: UI performance test for Scripts panel first open experience.
https://bugs.webkit.org/show_bug.cgi?id=68541
Summary Web Inspector: UI performance test for Scripts panel first open experience.
Ilya Tikhonovsky
Reported 2011-09-21 09:36:01 PDT
%subj%
Attachments
[patch] initial version (18.32 KB, patch)
2011-09-21 09:38 PDT, Ilya Tikhonovsky
pfeldman: review-
[patch] initial version (2.19 KB, patch)
2011-09-22 07:14 PDT, Ilya Tikhonovsky
no flags
Patch (2.33 KB, patch)
2011-09-23 02:43 PDT, Ilya Tikhonovsky
yurys: review+
Ilya Tikhonovsky
Comment 1 2011-09-21 09:38:20 PDT
Created attachment 108170 [details] [patch] initial version
Pavel Feldman
Comment 2 2011-09-22 05:13:01 PDT
Comment on attachment 108170 [details] [patch] initial version View in context: https://bugs.webkit.org/attachment.cgi?id=108170&action=review > LayoutTests/http/tests/inspector/inspector-test.js:11 > +//console.log = consoleOutputHook.bind(InspectorTest, "log"); Why did this change? > LayoutTests/inspector/performance/resources/first-open-scripts.html:38 > +var initialize_InspectorTest = function() { Could you extract a javascript file with the test data?
Ilya Tikhonovsky
Comment 3 2011-09-22 07:14:47 PDT
Created attachment 108328 [details] [patch] initial version
Yury Semikhatsky
Comment 4 2011-09-23 00:31:50 PDT
Comment on attachment 108328 [details] [patch] initial version View in context: https://bugs.webkit.org/attachment.cgi?id=108328&action=review > LayoutTests/inspector/performance/resources/first-open-scripts.html:26 > + setTimeout = function(func, time) { func(); } What's the reason for overriding setTimeout here? Please add a comment to the code.
Yury Semikhatsky
Comment 5 2011-09-23 02:35:20 PDT
Comment on attachment 108328 [details] [patch] initial version View in context: https://bugs.webkit.org/attachment.cgi?id=108328&action=review > LayoutTests/inspector/performance/resources/first-open-scripts.html:30 > + setTimeout = originalSetTimeout; Instead of overriding setTimeout which changes regular execution sequence we should find an event that is fired definitely after the panel switch has completed. If there is no such event at the moment we could expose corresponding method on the panel for the test. Any of these seems better than overriding setTimeout
Ilya Tikhonovsky
Comment 6 2011-09-23 02:43:08 PDT
Yury Semikhatsky
Comment 7 2011-09-23 03:06:20 PDT
Comment on attachment 108451 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=108451&action=review > LayoutTests/inspector/performance/resources/first-open-scripts.html:28 > + WebInspector.panels.scripts._visibleView._textViewer._mainPanel._paintScheduledLines(); Extract WebInspector.panels.scripts._visibleView._textViewer._mainPanel into a local variable?
Ilya Tikhonovsky
Comment 8 2011-09-23 03:59:14 PDT
Note You need to log in before you can comment on or make changes to this bug.