OLD | NEW |
1 <!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug.js"
></script> | 1 <!DOCTYPE html><html><head><script src="packages/shadow_dom/shadow_dom.debug.js"
></script> |
2 <script src="packages/custom_element/custom-elements.debug.js"></script> | 2 <script src="packages/custom_element/custom-elements.debug.js"></script> |
3 | 3 |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title>Dart VM Observatory</title> | 5 <title>Dart VM Observatory</title> |
6 <link rel="stylesheet" href="packages/observatory/src/elements/css/shared.css"
> | 6 <link rel="stylesheet" href="packages/observatory/src/elements/css/shared.css"
> |
7 <script type="text/javascript" src="https://www.google.com/jsapi"></script> | 7 <script type="text/javascript" src="https://www.google.com/jsapi"></script> |
8 <script src="packages/browser/interop.js"></script> | 8 <script src="packages/browser/interop.js"></script> |
9 | 9 |
10 <script src="index.html_bootstrap.dart.js"></script> | 10 <script type="application/dart" src="index.html_bootstrap.dart"></script> |
11 | 11 <script src="packages/browser/dart.js"></script> |
12 </head> | 12 </head> |
13 <body><polymer-element name="curly-block"> | 13 <body><polymer-element name="curly-block"> |
14 <template> | 14 <template> |
15 <style> | 15 <style> |
16 .idle { | 16 .idle { |
17 display: inline-block; | 17 display: inline-block; |
18 color: #0489c3; | 18 color: #0489c3; |
19 cursor: pointer; | 19 cursor: pointer; |
20 } | 20 } |
21 .busy { | 21 .busy { |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 color: #0489c3; | 482 color: #0489c3; |
483 cursor: pointer; | 483 cursor: pointer; |
484 } | 484 } |
485 .busy { | 485 .busy { |
486 color: #aaa; | 486 color: #aaa; |
487 cursor: wait; | 487 cursor: wait; |
488 } | 488 } |
489 </style> | 489 </style> |
490 | 490 |
491 <template if="{{ busy }}"> | 491 <template if="{{ busy }}"> |
492 <span class="busy">[evaluate]</span> | 492 <span class="busy">{{ label }}</span> |
493 </template> | 493 </template> |
494 <template if="{{ !busy }}"> | 494 <template if="{{ !busy }}"> |
495 <span class="idle"><a on-click="{{ evalNow }}">[evaluate]</a></span> | 495 <span class="idle"><a on-click="{{ evalNow }}">{{ label }}</a></span> |
496 </template> | 496 </template> |
497 <template if="{{ result != null }}"> | 497 <template if="{{ result != null }}"> |
498 = <instance-ref ref="{{ result }}"></instance-ref> | 498 = <instance-ref ref="{{ result }}"></instance-ref> |
499 </template> | 499 </template> |
500 | 500 |
501 </template> | 501 </template> |
502 | 502 |
503 </polymer-element> | 503 </polymer-element> |
504 <polymer-element name="field-ref" extends="service-ref"> | 504 <polymer-element name="field-ref" extends="service-ref"> |
505 <template> | 505 <template> |
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1507 <div class="memberValue">{{ instance['valueAsString'] }}</div> | 1507 <div class="memberValue">{{ instance['valueAsString'] }}</div> |
1508 </div> | 1508 </div> |
1509 </template> | 1509 </template> |
1510 <div class="memberItem"> | 1510 <div class="memberItem"> |
1511 <div class="memberName">size</div> | 1511 <div class="memberName">size</div> |
1512 <div class="memberValue">{{ instance['size'] | formatSize }}</div> | 1512 <div class="memberValue">{{ instance['size'] | formatSize }}</div> |
1513 </div> | 1513 </div> |
1514 <div class="memberItem"> | 1514 <div class="memberItem"> |
1515 <div class="memberName">retained size</div> | 1515 <div class="memberName">retained size</div> |
1516 <div class="memberValue"> | 1516 <div class="memberValue"> |
1517 <eval-link callback="{{ retainedSize }}"></eval-link> | 1517 <eval-link callback="{{ retainedSize }}" label="[calculate]"> |
| 1518 </eval-link> |
| 1519 </div> |
| 1520 </div> |
| 1521 </div> |
| 1522 <div class="memberItem"> |
| 1523 <div class="memberName">retaining path</div> |
| 1524 <div class="memberValue"> |
| 1525 <template if="{{ path == null }}"> |
| 1526 <eval-link callback="{{ retainingPath }}" label="[find]" expr="1
0"> |
| 1527 </eval-link> |
| 1528 </template> |
| 1529 <template if="{{ path != null }}"> |
| 1530 <template repeat="{{ element in path['elements'] }}"> |
| 1531 <div class="memberItem"> |
| 1532 <div class="memberName">[{{ element['index']}}]</div> |
| 1533 <div class="memberValue"> |
| 1534 <instance-ref ref="{{ element['value'] }}"></instance-ref> |
| 1535 </div> |
| 1536 </div> |
| 1537 </template> |
| 1538 <template if="{{ path['length'] > path['elements'].length }}"> |
| 1539 showing {{ path['elements'].length }} of {{ path['length'] }} |
| 1540 <eval-link callback="{{ retainingPath }}" label="[find more]"
expr="{{ path['elements'].length * 2 }}"> |
| 1541 </eval-link> |
| 1542 </template> |
| 1543 </template> |
1518 </div> | 1544 </div> |
1519 </div> | 1545 </div> |
1520 <template if="{{ instance['type_class'] != null }}"> | 1546 <template if="{{ instance['type_class'] != null }}"> |
1521 <div class="memberItem"> | 1547 <div class="memberItem"> |
1522 <div class="memberName">type class</div> | 1548 <div class="memberName">type class</div> |
1523 <div class="memberValue"> | 1549 <div class="memberValue"> |
1524 <class-ref ref="{{ instance['type_class'] }}"> | 1550 <class-ref ref="{{ instance['type_class'] }}"> |
1525 </class-ref> | 1551 </class-ref> |
1526 </div> | 1552 </div> |
1527 </div> | 1553 </div> |
(...skipping 10 matching lines...) Expand all Loading... |
1538 | 1564 |
1539 <div class="memberItem"> </div> | 1565 <div class="memberItem"> </div> |
1540 | 1566 |
1541 <div class="memberItem"> | 1567 <div class="memberItem"> |
1542 <div class="memberName">toString()</div> | 1568 <div class="memberName">toString()</div> |
1543 <div class="memberValue"> | 1569 <div class="memberValue"> |
1544 <eval-link callback="{{ eval }}" expr="toString()"></eval-link> | 1570 <eval-link callback="{{ eval }}" expr="toString()"></eval-link> |
1545 </div> | 1571 </div> |
1546 </div> | 1572 </div> |
1547 </div> | 1573 </div> |
1548 </div> | 1574 |
1549 | 1575 |
1550 <hr> | 1576 <hr> |
1551 | 1577 |
1552 <div class="content"> | 1578 <div class="content"> |
1553 <template if="{{ instance['fields'].isNotEmpty }}"> | 1579 <template if="{{ instance['fields'].isNotEmpty }}"> |
1554 fields ({{ instance['fields'].length }}) | 1580 fields ({{ instance['fields'].length }}) |
1555 <curly-block expand="{{ instance['fields'].length <= 8 }}"> | 1581 <curly-block expand="{{ instance['fields'].length <= 8 }}"> |
1556 <div class="memberList"> | 1582 <div class="memberList"> |
1557 <template repeat="{{ field in instance['fields'] }}"> | 1583 <template repeat="{{ field in instance['fields'] }}"> |
1558 <div class="memberItem"> | 1584 <div class="memberItem"> |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2308 <template><link rel="stylesheet" href="packages/observatory/src/elements/css/sha
red.css"> | 2334 <template><link rel="stylesheet" href="packages/observatory/src/elements/css/sha
red.css"> |
2309 <a href="{{ url }}">{{ ref.name }}</a> | 2335 <a href="{{ url }}">{{ ref.name }}</a> |
2310 </template> | 2336 </template> |
2311 | 2337 |
2312 </polymer-element> | 2338 </polymer-element> |
2313 | 2339 |
2314 | 2340 |
2315 <observatory-application></observatory-application> | 2341 <observatory-application></observatory-application> |
2316 | 2342 |
2317 </body></html> | 2343 </body></html> |
OLD | NEW |