Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
| index bb5a60dca8f3e513e47ad38979e3c4f51b1e33b6..9802758c2bb6b33c40d9ddfc995263e8dc96778c 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js |
| @@ -1738,6 +1738,12 @@ Timeline.TimelineUIUtils = class { |
| 'Idle callback execution extended beyond deadline by ' + |
| Number.millisToString(event.duration - eventData['allottedMilliseconds'], true)); |
| break; |
| + case warnings.LongHandler: |
| + span.textContent = Common.UIString('Handler took ' + Number.millisToString(event.duration, true)); |
|
alph
2016/11/19 05:36:27
May be it can be more explicit on what's wrong, e.
caseq
2016/11/19 05:51:08
Common.UIString('Handler look %s', Number.millisTo
|
| + break; |
| + case warnings.LongRecurringHandler: |
| + span.textContent = Common.UIString('Recurring handler took ' + Number.millisToString(event.duration, true)); |
|
caseq
2016/11/19 05:51:08
ditto.
|
| + break; |
| case warnings.V8Deopt: |
| span.appendChild(UI.createExternalLink( |
| 'https://github.com/GoogleChrome/devtools-docs/issues/53', Common.UIString('Not optimized'))); |