Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: runtime/bin/vmservice/client/deployed/web/index_devtools.html

Issue 165643003: Rework <script-ref>: - optional 'line' parameter - use a shorter version of the script url in the a… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html><html><head> 1 <!DOCTYPE html><html><head>
2 2
3 3
4 <title>Dart VM Observatory</title> 4 <title>Dart VM Observatory</title>
5 <meta charset="utf-8"> 5 <meta charset="utf-8">
6 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c ss"> 6 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c ss">
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 8
9 9
10 <script src="index_devtools.html_bootstrap.dart.js"></script> 10 <script src="index_devtools.html_bootstrap.dart.js"></script>
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 <td>Deoptimizations</td><td>{{ function['deoptimizations'] }}</t d> 349 <td>Deoptimizations</td><td>{{ function['deoptimizations'] }}</t d>
350 </tr> 350 </tr>
351 </tbody> 351 </tbody>
352 </table> 352 </table>
353 </div> 353 </div>
354 </div> 354 </div>
355 </div> 355 </div>
356 </div> 356 </div>
357 </template> 357 </template>
358 358
359 </polymer-element><polymer-element name="isolate-summary" extends="observatory-e lement"> 359 </polymer-element><polymer-element name="script-ref" extends="service-ref">
360 <template>
361 <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a>
362 </template>
363
364 </polymer-element>
365 <polymer-element name="isolate-summary" extends="observatory-element">
360 <template> 366 <template>
361 <div class="row"> 367 <div class="row">
362 <div class="col-md-1"> 368 <div class="col-md-1">
363 <img src="img/isolate_icon.png" class="img-polaroid"> 369 <img src="img/isolate_icon.png" class="img-polaroid">
364 </div> 370 </div>
365 371
366 <div class="col-md-1">{{ isolate.name }}</div> 372 <div class="col-md-1">{{ isolate.name }}</div>
367 373
368 <!-- TODO(turnidge): Use function-ref when it can take isolate param --> 374 <!-- TODO(turnidge): Use function-ref when it can take isolate param -->
369 <div class="col-md-4"> 375 <div class="col-md-4">
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 run 435 run
430 </template> 436 </template>
431 ( <a href="{{ app.locationManager.relativeLink(isolate.id, 'stacktrace') }}">stack trace</a> ) 437 ( <a href="{{ app.locationManager.relativeLink(isolate.id, 'stacktrace') }}">stack trace</a> )
432 </div> 438 </div>
433 </div> 439 </div>
434 <div class="row"> 440 <div class="row">
435 <div class="col-md-3"> 441 <div class="col-md-3">
436 </div> 442 </div>
437 <div class="col-md-6"> 443 <div class="col-md-6">
438 <template if="{{ isolate.topFrame != null }}"> 444 <template if="{{ isolate.topFrame != null }}">
439 <a href="{{ app.locationManager.relativeLink(isolate.id, isolate.topFr ame['function']['id']) }}"> 445 <function-ref app="{{ app }}" isolate="{{ isolate }}" ref="{{ isolate. topFrame['function'] }}"></function-ref>
440 {{ isolate.topFrame['function']['user_name'] }} 446 (<script-ref app="{{ app }}" isolate="{{ isolate }}" ref="{{ isolate.t opFrame['script'] }}" line="{{ isolate.topFrame['line'] }}"></script-ref>)
441 </a>
442 (<a href="{{ app.locationManager.relativeLink(isolate.id, isolate.topF rame['script']['id']) }}">
443 {{ isolate.topFrame | fileAndLine }}
444 </a>)
445 <br> 447 <br>
446 <pre>{{ isolate.topFrame['line'] }} &nbsp; {{ isolate.topFrame['lineSt ring'] }}</pre> 448 <pre>{{ isolate.topFrame['line'] }} &nbsp; {{ isolate.topFrame['lineSt ring'] }}</pre>
447 </template> 449 </template>
448 </div> 450 </div>
449 <div class="col-md-3"> 451 <div class="col-md-3">
450 </div> 452 </div>
451 </div> 453 </div>
452 </template> 454 </template>
453 455
454 </polymer-element> 456 </polymer-element>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 <tr template="" repeat="{{key in keys}}"> 529 <tr template="" repeat="{{key in keys}}">
528 <th>{{key}}</th> 530 <th>{{key}}</th>
529 <td><json-view json="{{value(key)}}"></json-view></td> 531 <td><json-view json="{{value(key)}}"></json-view></td>
530 </tr> 532 </tr>
531 </tbody> 533 </tbody>
532 </table> 534 </table>
533 </template> 535 </template>
534 </template> 536 </template>
535 537
536 </polymer-element> 538 </polymer-element>
537 <polymer-element name="script-ref" extends="service-ref"> 539 <polymer-element name="library-view" extends="observatory-element">
538 <template>
539 <a href="{{ url }}">{{ name }}</a>
540 </template>
541
542 </polymer-element><polymer-element name="library-view" extends="observatory-elem ent">
543 <template> 540 <template>
544 <div class="alert alert-success">Library {{ library['name'] }}</div> 541 <div class="alert alert-success">Library {{ library['name'] }}</div>
545 <div class="alert alert-info">Scripts</div> 542 <div class="alert alert-info">Scripts</div>
546 <table class="table table-hover"> 543 <table class="table table-hover">
547 <tbody> 544 <tbody>
548 <tr template="" repeat="{{ script in library['scripts']}}"> 545 <tr template="" repeat="{{ script in library['scripts']}}">
549 <td> 546 <td>
550 {{ script['kind'] }} 547 {{ script['kind'] }}
551 </td> 548 </td>
552 <td> 549 <td>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 padding: 0 1em; 694 padding: 0 1em;
698 } 695 }
699 </style> 696 </style>
700 <div class="row"> 697 <div class="row">
701 <div class="col-md-1"></div> 698 <div class="col-md-1"></div>
702 <div class="col-md-1"> 699 <div class="col-md-1">
703 #{{ frame['depth'] }} 700 #{{ frame['depth'] }}
704 </div> 701 </div>
705 <div class="col-md-9"> 702 <div class="col-md-9">
706 <function-ref app="{{ app }}" ref="{{ frame['function'] }}"></function-r ef> 703 <function-ref app="{{ app }}" ref="{{ frame['function'] }}"></function-r ef>
707 ( <script-ref app="{{ app }}" ref="{{ frame['script'] }}"></script-ref>: {{ frame['line'] }} ) 704 ( <script-ref app="{{ app }}" ref="{{ frame['script'] }}" line="{{ frame ['line'] }}">
705 </script-ref> )
708 </div> 706 </div>
709 <div class="col-md-1"></div> 707 <div class="col-md-1"></div>
710 </div> 708 </div>
711 709
712 <div class="row"> 710 <div class="row">
713 <div class="col-md-3"></div> 711 <div class="col-md-3"></div>
714 <div class="col-md-9"> 712 <div class="col-md-9">
715 <table class="memberList"> 713 <table class="memberList">
716 <tbody><tr template="" repeat="{{ v in frame['vars'] }}"> 714 <tbody><tr template="" repeat="{{ v in frame['vars'] }}">
717 <td class="member">{{ v['name']}}</td> 715 <td class="member">{{ v['name']}}</td>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 </template> 886 </template>
889 <template if="{{ app.locationManager.profile == false }}"> 887 <template if="{{ app.locationManager.profile == false }}">
890 <response-viewer app="{{ app }}"></response-viewer> 888 <response-viewer app="{{ app }}"></response-viewer>
891 </template> 889 </template>
892 </template> 890 </template>
893 891
894 </polymer-element> 892 </polymer-element>
895 <observatory-application devtools="true"></observatory-application> 893 <observatory-application devtools="true"></observatory-application>
896 894
897 </body></html> 895 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698