Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / profiler / cpu-profiler-flame-chart-overview.html
blobafe26e4b0cd60bc58de371a54fd3062d859c8059
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="profiler-test.js"></script>
5 <script>
7 function test()
9 var profileAndExpectations = {
10 _profile: {
11 "head": {
12 "functionName": "(root)",
13 "scriptId": "0",
14 "url": "",
15 "lineNumber": 0,
16 "columnNumber": 0,
17 "hitCount": 0,
18 "callUID": 1017737175,
19 "children": [
21 "functionName": "(program)",
22 "scriptId": "0",
23 "url": "",
24 "lineNumber": 0,
25 "columnNumber": 0,
26 "hitCount": 8,
27 "callUID": 3228965662,
28 "children": [
30 "deoptReason": "",
31 "id": 2
34 "functionName": "goog.ui.HoverCard.maybeShow",
35 "scriptId": "552",
36 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/hovercard.js",
37 "lineNumber": 406,
38 "columnNumber": 49,
39 "hitCount": 0,
40 "callUID": 2979117654,
41 "children": [
43 "functionName": "goog.ui.Tooltip.maybeShow",
44 "scriptId": "550",
45 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/tooltip.js",
46 "lineNumber": 543,
47 "columnNumber": 47,
48 "hitCount": 0,
49 "callUID": 4025562866,
50 "children": [
52 "functionName": "goog.ui.Tooltip.positionAndShow_",
53 "scriptId": "550",
54 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/tooltip.js",
55 "lineNumber": 610,
56 "columnNumber": 54,
57 "hitCount": 0,
58 "callUID": 3670406757,
59 "children": [
61 "functionName": "goog.ui.PopupBase.setVisible",
62 "scriptId": "548",
63 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
64 "lineNumber": 448,
65 "columnNumber": 50,
66 "hitCount": 0,
67 "callUID": 1027332454,
68 "children": [
70 "functionName": "goog.ui.PopupBase.show_",
71 "scriptId": "548",
72 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
73 "lineNumber": 472,
74 "columnNumber": 45,
75 "hitCount": 0,
76 "callUID": 1243771321,
77 "children": [
79 "functionName": "goog.ui.Tooltip.onBeforeShow",
80 "scriptId": "550",
81 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/tooltip.js",
82 "lineNumber": 462,
83 "columnNumber": 50,
84 "hitCount": 0,
85 "callUID": 730826276,
86 "children": [
88 "functionName": "goog.ui.PopupBase.onBeforeShow",
89 "scriptId": "548",
90 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
91 "lineNumber": 682,
92 "columnNumber": 52,
93 "hitCount": 0,
94 "callUID": 3156514871,
95 "children": [
97 "functionName": "goog.events.EventTarget.dispatchEvent",
98 "scriptId": "537",
99 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
100 "lineNumber": 185,
101 "columnNumber": 59,
102 "hitCount": 0,
103 "callUID": 175902988,
104 "children": [
106 "functionName": "goog.events.EventTarget.dispatchEventInternal_",
107 "scriptId": "537",
108 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
109 "lineNumber": 353,
110 "columnNumber": 58,
111 "hitCount": 0,
112 "callUID": 1027992353,
113 "children": [
115 "functionName": "goog.events.EventTarget.fireListeners",
116 "scriptId": "537",
117 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
118 "lineNumber": 265,
119 "columnNumber": 59,
120 "hitCount": 0,
121 "callUID": 3839384186,
122 "children": [
124 "functionName": "logEvent",
125 "scriptId": "554",
126 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/demos\/hovercard.html",
127 "lineNumber": 120,
128 "columnNumber": 24,
129 "hitCount": 0,
130 "callUID": 3948503588,
131 "children": [
133 "functionName": "goog.log.info",
134 "scriptId": "518",
135 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/log\/log.js",
136 "lineNumber": 173,
137 "columnNumber": 25,
138 "hitCount": 0,
139 "callUID": 2719274562,
140 "children": [
142 "functionName": "goog.debug.DivConsole.addLogRecord",
143 "scriptId": "517",
144 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/debug\/divconsole.js",
145 "lineNumber": 92,
146 "columnNumber": 56,
147 "hitCount": 0,
148 "callUID": 3436172789,
149 "children": [
151 "functionName": "appendChild",
152 "scriptId": "0",
153 "url": "",
154 "lineNumber": 0,
155 "columnNumber": 0,
156 "hitCount": 1,
157 "callUID": 2375967960,
158 "children": [
160 "deoptReason": "",
161 "id": 16
164 "deoptReason": "no reason",
165 "id": 15
168 "deoptReason": "no reason",
169 "id": 14
172 "deoptReason": "no reason",
173 "id": 13
176 "deoptReason": "no reason",
177 "id": 12
180 "deoptReason": "no reason",
181 "id": 11
184 "deoptReason": "no reason",
185 "id": 10
188 "deoptReason": "no reason",
189 "id": 9
192 "deoptReason": "no reason",
193 "id": 8
196 "functionName": "goog.ui.Popup.reposition",
197 "scriptId": "549",
198 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popup.js",
199 "lineNumber": 199,
200 "columnNumber": 46,
201 "hitCount": 0,
202 "callUID": 994036427,
203 "children": [
205 "functionName": "goog.positioning.AnchoredPosition.reposition",
206 "scriptId": "522",
207 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/positioning\/anchoredposition.js",
208 "lineNumber": 83,
209 "columnNumber": 66,
210 "hitCount": 0,
211 "callUID": 3611579388,
212 "children": [
214 "functionName": "goog.positioning.positionAtAnchor",
215 "scriptId": "520",
216 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/positioning\/positioning.js",
217 "lineNumber": 196,
218 "columnNumber": 45,
219 "hitCount": 0,
220 "callUID": 2475480533,
221 "children": [
223 "functionName": "goog.positioning.getOffsetParentPageOffset",
224 "scriptId": "520",
225 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/positioning\/positioning.js",
226 "lineNumber": 278,
227 "columnNumber": 54,
228 "hitCount": 0,
229 "callUID": 726686371,
230 "children": [
232 "functionName": "get offsetParent",
233 "scriptId": "0",
234 "url": "",
235 "lineNumber": 0,
236 "columnNumber": 0,
237 "hitCount": 1,
238 "callUID": 165569179,
239 "children": [
241 "deoptReason": "",
242 "id": 21
245 "deoptReason": "no reason",
246 "id": 20
249 "functionName": "goog.positioning.getVisiblePart_",
250 "scriptId": "520",
251 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/positioning\/positioning.js",
252 "lineNumber": 316,
253 "columnNumber": 44,
254 "hitCount": 0,
255 "callUID": 832563978,
256 "children": [
258 "functionName": "goog.style.getBounds",
259 "scriptId": "516",
260 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/style\/style.js",
261 "lineNumber": 1129,
262 "columnNumber": 32,
263 "hitCount": 0,
264 "callUID": 1735066671,
265 "children": [
267 "functionName": "goog.style.getPageOffset",
268 "scriptId": "516",
269 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/style\/style.js",
270 "lineNumber": 651,
271 "columnNumber": 36,
272 "hitCount": 0,
273 "callUID": 3913614204,
274 "children": [
276 "functionName": "goog.style.getStyle_",
277 "scriptId": "516",
278 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/style\/style.js",
279 "lineNumber": 219,
280 "columnNumber": 32,
281 "hitCount": 0,
282 "callUID": 1778778665,
283 "children": [
285 "functionName": "get ownerDocument",
286 "scriptId": "0",
287 "url": "",
288 "lineNumber": 0,
289 "columnNumber": 0,
290 "hitCount": 1,
291 "callUID": 2871300201,
292 "children": [
294 "deoptReason": "",
295 "id": 26
298 "deoptReason": "no reason",
299 "id": 25
302 "deoptReason": "no reason",
303 "id": 24
306 "deoptReason": "no reason",
307 "id": 23
310 "deoptReason": "no reason",
311 "id": 22
314 "deoptReason": "no reason",
315 "id": 19
318 "deoptReason": "no reason",
319 "id": 18
322 "deoptReason": "no reason",
323 "id": 17
326 "functionName": "goog.ui.AdvancedTooltip.onShow_",
327 "scriptId": "551",
328 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/advancedtooltip.js",
329 "lineNumber": 178,
330 "columnNumber": 53,
331 "hitCount": 0,
332 "callUID": 1438523729,
333 "children": [
335 "functionName": "goog.ui.PopupBase.onShow_",
336 "scriptId": "548",
337 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
338 "lineNumber": 693,
339 "columnNumber": 47,
340 "hitCount": 0,
341 "callUID": 3641174553,
342 "children": [
344 "functionName": "goog.events.EventTarget.dispatchEvent",
345 "scriptId": "537",
346 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
347 "lineNumber": 185,
348 "columnNumber": 59,
349 "hitCount": 0,
350 "callUID": 175902988,
351 "children": [
353 "functionName": "goog.events.EventTarget.dispatchEventInternal_",
354 "scriptId": "537",
355 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
356 "lineNumber": 353,
357 "columnNumber": 58,
358 "hitCount": 0,
359 "callUID": 1027992353,
360 "children": [
362 "functionName": "goog.events.EventTarget.fireListeners",
363 "scriptId": "537",
364 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
365 "lineNumber": 265,
366 "columnNumber": 59,
367 "hitCount": 0,
368 "callUID": 3839384186,
369 "children": [
371 "functionName": "logEvent",
372 "scriptId": "554",
373 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/demos\/hovercard.html",
374 "lineNumber": 120,
375 "columnNumber": 24,
376 "hitCount": 0,
377 "callUID": 3948503588,
378 "children": [
380 "functionName": "goog.log.info",
381 "scriptId": "518",
382 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/log\/log.js",
383 "lineNumber": 173,
384 "columnNumber": 25,
385 "hitCount": 0,
386 "callUID": 2719274562,
387 "children": [
389 "functionName": "goog.debug.DivConsole.addLogRecord",
390 "scriptId": "517",
391 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/debug\/divconsole.js",
392 "lineNumber": 92,
393 "columnNumber": 56,
394 "hitCount": 0,
395 "callUID": 3436172789,
396 "children": [
398 "functionName": "get scrollHeight",
399 "scriptId": "0",
400 "url": "",
401 "lineNumber": 0,
402 "columnNumber": 0,
403 "hitCount": 1,
404 "callUID": 1630838451,
405 "children": [
407 "deoptReason": "",
408 "id": 35
411 "functionName": "appendChild",
412 "scriptId": "0",
413 "url": "",
414 "lineNumber": 0,
415 "columnNumber": 0,
416 "hitCount": 1,
417 "callUID": 2375967960,
418 "children": [
420 "deoptReason": "",
421 "id": 36
424 "deoptReason": "no reason",
425 "id": 34
428 "deoptReason": "no reason",
429 "id": 33
432 "deoptReason": "no reason",
433 "id": 32
436 "deoptReason": "no reason",
437 "id": 31
440 "deoptReason": "no reason",
441 "id": 30
444 "deoptReason": "no reason",
445 "id": 29
448 "deoptReason": "no reason",
449 "id": 28
452 "deoptReason": "no reason",
453 "id": 27
456 "deoptReason": "TryCatchStatement",
457 "id": 7
460 "deoptReason": "no reason",
461 "id": 6
464 "deoptReason": "no reason",
465 "id": 5
468 "deoptReason": "no reason",
469 "id": 4
472 "deoptReason": "no reason",
473 "id": 3
476 "functionName": "(idle)",
477 "scriptId": "0",
478 "url": "",
479 "lineNumber": 0,
480 "columnNumber": 0,
481 "hitCount": 60,
482 "callUID": 316851070,
483 "children": [
485 "deoptReason": "",
486 "id": 37
489 "functionName": "goog.ui.AdvancedTooltip.maybeHide",
490 "scriptId": "551",
491 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/advancedtooltip.js",
492 "lineNumber": 272,
493 "columnNumber": 55,
494 "hitCount": 0,
495 "callUID": 762635884,
496 "children": [
498 "functionName": "goog.ui.PopupBase.setVisible",
499 "scriptId": "548",
500 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
501 "lineNumber": 448,
502 "columnNumber": 50,
503 "hitCount": 0,
504 "callUID": 1027332454,
505 "children": [
507 "functionName": "goog.ui.PopupBase.hide_",
508 "scriptId": "548",
509 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
510 "lineNumber": 590,
511 "columnNumber": 45,
512 "hitCount": 0,
513 "callUID": 1192193890,
514 "children": [
516 "functionName": "goog.ui.PopupBase.onBeforeHide_",
517 "scriptId": "548",
518 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
519 "lineNumber": 708,
520 "columnNumber": 53,
521 "hitCount": 0,
522 "callUID": 3604239577,
523 "children": [
525 "functionName": "goog.events.EventTarget.dispatchEvent",
526 "scriptId": "537",
527 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
528 "lineNumber": 185,
529 "columnNumber": 59,
530 "hitCount": 0,
531 "callUID": 175902988,
532 "children": [
534 "functionName": "goog.events.EventTarget.dispatchEventInternal_",
535 "scriptId": "537",
536 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
537 "lineNumber": 353,
538 "columnNumber": 58,
539 "hitCount": 0,
540 "callUID": 1027992353,
541 "children": [
543 "functionName": "goog.events.EventTarget.fireListeners",
544 "scriptId": "537",
545 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
546 "lineNumber": 265,
547 "columnNumber": 59,
548 "hitCount": 0,
549 "callUID": 3839384186,
550 "children": [
552 "functionName": "logEvent",
553 "scriptId": "554",
554 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/demos\/hovercard.html",
555 "lineNumber": 120,
556 "columnNumber": 24,
557 "hitCount": 0,
558 "callUID": 3948503588,
559 "children": [
561 "functionName": "goog.log.info",
562 "scriptId": "518",
563 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/log\/log.js",
564 "lineNumber": 173,
565 "columnNumber": 25,
566 "hitCount": 0,
567 "callUID": 2719274562,
568 "children": [
570 "functionName": "goog.debug.DivConsole.addLogRecord",
571 "scriptId": "517",
572 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/debug\/divconsole.js",
573 "lineNumber": 92,
574 "columnNumber": 56,
575 "hitCount": 0,
576 "callUID": 3436172789,
577 "children": [
579 "functionName": "set innerHTML",
580 "scriptId": "0",
581 "url": "",
582 "lineNumber": 0,
583 "columnNumber": 0,
584 "hitCount": 1,
585 "callUID": 707509894,
586 "children": [
588 "deoptReason": "",
589 "id": 48
592 "deoptReason": "no reason",
593 "id": 47
596 "deoptReason": "no reason",
597 "id": 46
600 "deoptReason": "no reason",
601 "id": 45
604 "deoptReason": "no reason",
605 "id": 44
608 "deoptReason": "no reason",
609 "id": 43
612 "deoptReason": "no reason",
613 "id": 42
616 "deoptReason": "no reason",
617 "id": 41
620 "functionName": "goog.ui.PopupBase.continueHidingPopup_",
621 "scriptId": "548",
622 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
623 "lineNumber": 627,
624 "columnNumber": 60,
625 "hitCount": 0,
626 "callUID": 2093833058,
627 "children": [
629 "functionName": "goog.ui.HoverCard.onHide_",
630 "scriptId": "552",
631 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/hovercard.js",
632 "lineNumber": 347,
633 "columnNumber": 47,
634 "hitCount": 0,
635 "callUID": 654814745,
636 "children": [
638 "functionName": "goog.ui.AdvancedTooltip.onHide_",
639 "scriptId": "551",
640 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/advancedtooltip.js",
641 "lineNumber": 199,
642 "columnNumber": 53,
643 "hitCount": 0,
644 "callUID": 1821323492,
645 "children": [
647 "functionName": "goog.events.unlisten",
648 "scriptId": "535",
649 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/events.js",
650 "lineNumber": 374,
651 "columnNumber": 32,
652 "hitCount": 2,
653 "callUID": 250969654,
654 "children": [
656 "deoptReason": "no reason",
657 "id": 52
660 "functionName": "goog.ui.Tooltip.onHide_",
661 "scriptId": "550",
662 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/tooltip.js",
663 "lineNumber": 502,
664 "columnNumber": 45,
665 "hitCount": 0,
666 "callUID": 985322188,
667 "children": [
669 "functionName": "goog.ui.PopupBase.onHide_",
670 "scriptId": "548",
671 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/ui\/popupbase.js",
672 "lineNumber": 723,
673 "columnNumber": 47,
674 "hitCount": 0,
675 "callUID": 4290498223,
676 "children": [
678 "functionName": "goog.events.EventTarget.dispatchEvent",
679 "scriptId": "537",
680 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
681 "lineNumber": 185,
682 "columnNumber": 59,
683 "hitCount": 0,
684 "callUID": 175902988,
685 "children": [
687 "functionName": "goog.events.EventTarget.dispatchEventInternal_",
688 "scriptId": "537",
689 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
690 "lineNumber": 353,
691 "columnNumber": 58,
692 "hitCount": 0,
693 "callUID": 1027992353,
694 "children": [
696 "functionName": "goog.events.EventTarget.fireListeners",
697 "scriptId": "537",
698 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/events\/eventtarget.js",
699 "lineNumber": 265,
700 "columnNumber": 59,
701 "hitCount": 0,
702 "callUID": 3839384186,
703 "children": [
705 "functionName": "logEvent",
706 "scriptId": "554",
707 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/demos\/hovercard.html",
708 "lineNumber": 120,
709 "columnNumber": 24,
710 "hitCount": 0,
711 "callUID": 3948503588,
712 "children": [
714 "functionName": "goog.log.info",
715 "scriptId": "518",
716 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/log\/log.js",
717 "lineNumber": 173,
718 "columnNumber": 25,
719 "hitCount": 0,
720 "callUID": 2719274562,
721 "children": [
723 "functionName": "goog.debug.DivConsole.addLogRecord",
724 "scriptId": "517",
725 "url": "http:\/\/closure-library.googlecode.com\/git\/closure\/goog\/debug\/divconsole.js",
726 "lineNumber": 92,
727 "columnNumber": 56,
728 "hitCount": 0,
729 "callUID": 3436172789,
730 "children": [
732 "functionName": "appendChild",
733 "scriptId": "0",
734 "url": "",
735 "lineNumber": 0,
736 "columnNumber": 0,
737 "hitCount": 1,
738 "callUID": 2375967960,
739 "children": [
741 "deoptReason": "",
742 "id": 61
745 "deoptReason": "no reason",
746 "id": 60
749 "deoptReason": "no reason",
750 "id": 59
753 "deoptReason": "no reason",
754 "id": 58
757 "deoptReason": "no reason",
758 "id": 57
761 "deoptReason": "no reason",
762 "id": 56
765 "deoptReason": "no reason",
766 "id": 55
769 "deoptReason": "no reason",
770 "id": 54
773 "deoptReason": "no reason",
774 "id": 53
777 "deoptReason": "no reason",
778 "id": 51
781 "deoptReason": "no reason",
782 "id": 50
785 "deoptReason": "no reason",
786 "id": 49
789 "deoptReason": "no reason",
790 "id": 40
793 "deoptReason": "no reason",
794 "id": 39
797 "deoptReason": "no reason",
798 "id": 38
801 "deoptReason": "",
802 "id": 1
804 "startTime": 1384977392.3568,
805 "endTime": 1384977392.5345,
806 "samples": [2,16,21,26,35,36,37,2,2,2,2,2,2,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,48,52,52,61,2,37,37,37,37,37,37,37]
809 var profile = profileAndExpectations._profile;
810 var startTime = profile.startTime * 1000;
811 var endTime = profile.endTime * 1000;
812 var samplingInterval = (endTime - startTime) / (profile.samples.length - 1);
813 profile.timestamps = [];
814 for (var i = 0; i < profile.samples.length; ++i)
815 profile.timestamps.push(startTime + i * samplingInterval);
816 profileAndExpectations.target = function() {};
817 profileAndExpectations.weakTarget = function() { return new WeakReference(null);};
818 var cpuProfileView = new WebInspector.CPUProfileView(profileAndExpectations);
819 cpuProfileView.viewSelectComboBox.setSelectedIndex(0);
820 cpuProfileView._changeView();
821 var overviewPane = cpuProfileView._flameChart._overviewPane;
822 console.log(Object.values(overviewPane._calculateDrawData(16)));
823 console.log(Object.values(overviewPane._calculateDrawData(8)));
824 console.log(Object.values(overviewPane._calculateDrawData(4)));
825 console.log(Object.values(overviewPane._calculateDrawData(2)));
826 console.log(Object.values(overviewPane._calculateDrawData(1)));
827 InspectorTest.completeTest();
830 </script>
831 </head>
832 <body onload="runTest()">
834 Tests Overview pane calculation in FlameChart for different width = 2^n with n in range 4 - 0.
836 </p>
837 </body>
838 </html>