aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/bug.html
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-03-22 10:12:02 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-03-22 10:12:02 +0100
commitd661fa01d9d52e8bbcf67e2ed9326d9e9676d634 (patch)
treee71806496991b51b0c45915c10c5ebb870e2495b /dashboard/app/bug.html
parentae36e6e584951a17a998197b6c9a89a8666ef12f (diff)
dashboard/app: add sample crash report to bug page
As requested at: https://groups.google.com/d/msg/syzkaller/zYlQ-b-QPHQ/u2jZPNRAAAAJ
Diffstat (limited to 'dashboard/app/bug.html')
-rw-r--r--dashboard/app/bug.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/dashboard/app/bug.html b/dashboard/app/bug.html
index 9de9576fa..263fd49ec 100644
--- a/dashboard/app/bug.html
+++ b/dashboard/app/bug.html
@@ -28,8 +28,13 @@ Page with details about a single bug.
{{template "bug_list" .Dups}}
{{template "bug_list" .Similar}}
+ {{if .SampleReport}}
+ <br><b>Sample crash report:</b><br>
+ <textarea id="log_textarea" readonly rows="25" wrap=off>{{printf "%s" .SampleReport}}</textarea><br>
+ {{end}}
+
<table class="list_table">
- <caption>Crashes ({{.Bug.NumCrashes}}):</caption>
+ <caption>All crashes ({{.Bug.NumCrashes}}):</caption>
<tr>
<th><a onclick="return sortTable('Manager', textSort)" href="#">Manager</a></th>
<th><a onclick="return sortTable('Time', dateSort)" href="#">Time</a></th>