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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 list-style-type: none; | 63 list-style-type: none; |
64 } | 64 } |
65 </style> | 65 </style> |
66 <details-sk id="file" open="{{expand}}"> | 66 <details-sk id="file" open="{{expand}}"> |
67 <summary-sk> | 67 <summary-sk> |
68 <h3> | 68 <h3> |
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 ></fuzzer-collapse-function-sk> |
80 </template> | 80 </template> |
81 </template> | 81 </template> |
82 <!-- --> | |
83 </details-sk> | 82 </details-sk> |
84 </template> | 83 </template> |
85 <script> | 84 <script> |
86 Polymer({ | 85 Polymer({ |
87 is: 'fuzzer-collapse-file-sk', | 86 is: 'fuzzer-collapse-file-sk', |
88 | 87 |
89 properties: { | 88 properties: { |
90 file: { //expected to be provided | 89 file: { //expected to be provided |
91 type: Object, | 90 type: Object, |
92 value: function() { | 91 value: function() { |
(...skipping 27 matching lines...) Expand all Loading... |
120 } | 119 } |
121 var base = fuzzer.getLinkToDetails("/category/"+category, "file", file.fil
eName); | 120 var base = fuzzer.getLinkToDetails("/category/"+category, "file", file.fil
eName); |
122 if (func) { | 121 if (func) { |
123 base = fuzzer.getLinkToDetails(base, "func", func.functionName); | 122 base = fuzzer.getLinkToDetails(base, "func", func.functionName); |
124 } | 123 } |
125 return base; | 124 return base; |
126 } | 125 } |
127 }); | 126 }); |
128 </script> | 127 </script> |
129 </dom-module> | 128 </dom-module> |
OLD | NEW |