OLD | NEW |
1 <!-- | 1 <!-- |
2 The common.js file must be included before this file. | 2 The common.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-details-sk> | 7 <fuzzer-collapse-details-sk> |
8 | 8 |
9 To use this file import it: | 9 To use this file import it: |
10 | 10 |
11 <link href="/res/imp/fuzzer-collapse-details-sk.html" rel="import" /> | 11 <link href="/res/imp/fuzzer-collapse-details-sk.html" rel="import" /> |
12 | 12 |
13 Usage: | 13 Usage: |
14 | 14 |
15 <fuzzer-collapse-details-sk></fuzzer-collapse-details-sk> | 15 <fuzzer-collapse-details-sk></fuzzer-collapse-details-sk> |
16 | 16 |
17 Properties: | 17 Properties: |
18 details - The details object. Expected to have the following attributes: | 18 details - The details object. Expected to have the following attributes: |
19 lineNumber: Number, | 19 lineNumber: Number, |
20 apiCount: Number, | 20 apiCount: Number, |
21 binaryCount: Number, | 21 binaryCount: Number, |
22 binaryReports: [optional] Array of Reports. If supplied, | 22 binaryReports: Array of Reports. If non-empty, |
23 an expandable details panel will be created containing representations o
f the reports. | 23 an expandable details panel will be created containing representations o
f the reports. |
24 If omitted, just the summary will be shown. | 24 If empty, just the summary will be shown. |
25 Reports are objects and have the following attributes: | 25 Reports are objects and have the following attributes: |
26 - binaryName: String, The name of the binary, likely an md5 hash | 26 - binaryName: String, The name of the binary, likely an md5 hash |
27 - binaryType: String, The type of the binary | 27 - binaryType: String, The type of the binary |
28 - flags: Array of String, The flags associated with the run (e.g. DebugD
umped) | 28 - flags: Array of String, The flags associated with the run (e.g. DebugD
umped) |
29 - debugStackTrace: Object (see fuzzer-stacktrace-sk.html for schema) | 29 - debugStackTrace: Object (see fuzzer-stacktrace-sk.html for schema) |
30 - releaseStackTrace: Object (see fuzzer-stacktrace-sk.html for schema) | 30 - releaseStackTrace: Object (see fuzzer-stacktrace-sk.html for schema) |
31 | 31 |
32 Methods: | 32 Methods: |
33 setDetails(details) - Programmatically set the details object. | 33 setDetails(details) - Programmatically set the details object. |
34 showMore() - Programmatically show up to 6 more details panels. | 34 showMore() - Programmatically show up to 6 more details panels. |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 return "/dump/" + type + "/" + report.binaryName; | 247 return "/dump/" + type + "/" + report.binaryName; |
248 }, | 248 }, |
249 | 249 |
250 toggleDetails: function() { | 250 toggleDetails: function() { |
251 this.$$("#detailsPanel").toggle(); | 251 this.$$("#detailsPanel").toggle(); |
252 this.$$("#indicator").toggleClass("toggled"); | 252 this.$$("#indicator").toggleClass("toggled"); |
253 } | 253 } |
254 }); | 254 }); |
255 </script> | 255 </script> |
256 </dom-module> | 256 </dom-module> |
OLD | NEW |