| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 The fuzzer/res/fuzzer.js file must be included before this file. | 2 The fuzzer/res/fuzzer.js file must be included before this file. |
| 3 | 3 |
| 4 This in an HTML Import-able file that contains the definition | 4 This in an HTML Import-able file that contains the definition |
| 5 of the following elements: | 5 of the following elements: |
| 6 | 6 |
| 7 <fuzzer-collapse-file-sk> | 7 <fuzzer-collapse-file-sk> |
| 8 | 8 |
| 9 This element will poll /json/list | 9 This element will poll /json/list |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 <a href$="{{_getDetailsLink(category, file)}}">{{file.fileName}}</a> | 69 <a href$="{{_getDetailsLink(category, file)}}">{{file.fileName}}</a> |
| 70 -- {{file.count}} crash-causing fuzzes | 70 -- {{file.count}} crash-causing fuzzes |
| 71 </h3> | 71 </h3> |
| 72 </summary-sk> | 72 </summary-sk> |
| 73 <template is="dom-if" if="[[expand]]"> | 73 <template is="dom-if" if="[[expand]]"> |
| 74 <template is="dom-repeat" items="{{file.byFunction}}" as="func" sort="_
byCount"> | 74 <template is="dom-repeat" items="{{file.byFunction}}" as="func" sort="_
byCount"> |
| 75 <fuzzer-collapse-function-sk | 75 <fuzzer-collapse-function-sk |
| 76 class="func-group" | 76 class="func-group" |
| 77 func="{{func}}" | 77 func="{{func}}" |
| 78 details-base="{{_getDetailsLink(category, file)}}" | 78 details-base="{{_getDetailsLink(category, file)}}" |
| 79 ></fuzzer-collapse-function-sk> | 79 expand="[[expand]]" ></fuzzer-collapse-function-sk> |
| 80 </template> | 80 </template> |
| 81 </template> | 81 </template> |
| 82 </details-sk> | 82 </details-sk> |
| 83 </template> | 83 </template> |
| 84 <script> | 84 <script> |
| 85 Polymer({ | 85 Polymer({ |
| 86 is: 'fuzzer-collapse-file-sk', | 86 is: 'fuzzer-collapse-file-sk', |
| 87 | 87 |
| 88 properties: { | 88 properties: { |
| 89 file: { //expected to be provided | 89 file: { //expected to be provided |
| (...skipping 29 matching lines...) Expand all Loading... |
| 119 } | 119 } |
| 120 var base = fuzzer.getLinkToDetails("/category/"+category, "file", file.fil
eName); | 120 var base = fuzzer.getLinkToDetails("/category/"+category, "file", file.fil
eName); |
| 121 if (func) { | 121 if (func) { |
| 122 base = fuzzer.getLinkToDetails(base, "func", func.functionName); | 122 base = fuzzer.getLinkToDetails(base, "func", func.functionName); |
| 123 } | 123 } |
| 124 return base; | 124 return base; |
| 125 } | 125 } |
| 126 }); | 126 }); |
| 127 </script> | 127 </script> |
| 128 </dom-module> | 128 </dom-module> |
| OLD | NEW |