Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2524)

Unified Diff: appengine/chromium_build_stats/gopath/src/ninjalog/traceviewer/traceviewer.go

Issue 1916363002: chromium_build_stats: fix trace viewer (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: split catapult roll Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/chromium_build_stats/gen-trace-viewer.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_build_stats/gopath/src/ninjalog/traceviewer/traceviewer.go
diff --git a/appengine/chromium_build_stats/gopath/src/ninjalog/traceviewer/traceviewer.go b/appengine/chromium_build_stats/gopath/src/ninjalog/traceviewer/traceviewer.go
index e532ec2428209d536f46d3e094327599c66d0945..fdc5939a665404aad9099ba9e2affc5e92c59e66 100644
--- a/appengine/chromium_build_stats/gopath/src/ninjalog/traceviewer/traceviewer.go
+++ b/appengine/chromium_build_stats/gopath/src/ninjalog/traceviewer/traceviewer.go
@@ -76,7 +76,7 @@ func (t *Template) HTML(fname string, traces []ninjalog.Trace) ([]byte, error) {
scanner := bufio.NewScanner(f)
for scanner.Scan() {
line := scanner.Text()
- if line == `<script id="viewer-data" type="application/json">` {
+ if line == `<script id="viewer-data" type="text/plain">` {
fmt.Fprintf(&w, "%s\n", line)
break
}
« no previous file with comments | « appengine/chromium_build_stats/gen-trace-viewer.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698