OLD | NEW |
1 <!-- | 1 <!-- |
2 This in an HTML Import-able file that contains the definition | 2 This in an HTML Import-able file that contains the definition |
3 of the following elements: | 3 of the following elements: |
4 | 4 |
5 <fuzzer-stacktrace-sk> | 5 <fuzzer-stacktrace-sk> |
6 | 6 |
7 <fuzzer-stacktrace-sk> displays a strack trace showing the first 8 frames and
can be expanded with a click. | 7 <fuzzer-stacktrace-sk> displays a strack trace showing the first 8 frames and
can be expanded with a click. |
8 | 8 |
9 To use this file import it: | 9 To use this file import it: |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 } | 76 } |
77 </style> | 77 </style> |
78 <div class="stacktrace"> | 78 <div class="stacktrace"> |
79 <template is="dom-repeat" items="{{frames}}" as="frame"> | 79 <template is="dom-repeat" items="{{frames}}" as="frame"> |
80 <div class="frame" > | 80 <div class="frame" > |
81 <span class="line"> | 81 <span class="line"> |
82 <a target="_blank" href$="{{_computeCSLink(frame)}}">{{frame.packa
geName}}{{frame.fileName}}:{{frame.lineNumber}} | 82 <a target="_blank" href$="{{_computeCSLink(frame)}}">{{frame.packa
geName}}{{frame.fileName}}:{{frame.lineNumber}} |
83 </a> | 83 </a> |
84 </span> | 84 </span> |
85 <span class="function-name"> | 85 <span class="function-name"> |
86 <template is="dom-if" if="{{frame.functionName}}"> | |
87 <span>{{frame.functionName}}</span> | 86 <span>{{frame.functionName}}</span> |
88 </template> | |
89 </span> | 87 </span> |
90 </div> | 88 </div> |
91 </template> | 89 </template> |
92 | 90 |
93 <paper-icon-button id="expand" icon="icons:more-horiz" on-click="showMore" t
itle="expand stacktrace" class$="{{icon_classes}}"></paper-icon-button> | 91 <paper-icon-button id="expand" icon="icons:more-horiz" on-click="showMore" t
itle="expand stacktrace" class$="{{icon_classes}}"></paper-icon-button> |
94 | 92 |
95 </div> | 93 </div> |
96 </template> | 94 </template> |
97 | 95 |
98 <script> | 96 <script> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 _computeCSLink: function(frame) { | 140 _computeCSLink: function(frame) { |
143 return "https://code.google.com/p/chromium/codesearch#chromium/src/third
_party/skia/" + frame.packageName + frame.fileName +"&l="+frame.lineNumber; | 141 return "https://code.google.com/p/chromium/codesearch#chromium/src/third
_party/skia/" + frame.packageName + frame.fileName +"&l="+frame.lineNumber; |
144 }, | 142 }, |
145 | 143 |
146 showMore: function() { | 144 showMore: function() { |
147 this.expanded = true; | 145 this.expanded = true; |
148 } | 146 } |
149 }); | 147 }); |
150 </script> | 148 </script> |
151 </dom-module> | 149 </dom-module> |
OLD | NEW |