]> Cypherpunks repositories - gostls13.git/commit
html/template: lock in application/json as valid JS test
authorEmmanuel Odeke <emm.odeke@gmail.com>
Sun, 4 Dec 2016 02:45:50 +0000 (18:45 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 4 Dec 2016 03:59:31 +0000 (03:59 +0000)
commitd54b60a2b2470ea42559b58995e86ff20dd70471
tree9a7412019149eef4e405681a4d6e1fdbbf59bdd3
parent37dbc7b49cbc9934c8dde54b65e5f417ce3faae9
html/template: lock in application/json as valid JS test

CL https://go-review.googlesource.com/33899 added
application/json as a mimeType for valid JS. Let's
lock that fix in with a test.

Updates #18159

Change-Id: Ic4dfd8929aebfc5410f796688f081ca06630f672
Reviewed-on: https://go-review.googlesource.com/33901
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Nodir Turakulov <nodir@google.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/html/template/js_test.go