go/src/html/template/js_test.go

func TestNextJsCtx(t *testing.T) {}

type jsonErrType

func (e *jsonErrType) MarshalJSON() ([]byte, error) {}

func TestJSValEscaper(t *testing.T) {}

func TestJSStrEscaper(t *testing.T) {}

func TestJSRegexpEscaper(t *testing.T) {}

func TestEscapersOnLower7AndSelectHighCodepoints(t *testing.T) {}

func TestIsJsMimeType(t *testing.T) {}

func BenchmarkJSValEscaperWithNum(b *testing.B) {}

func BenchmarkJSValEscaperWithStr(b *testing.B) {}

func BenchmarkJSValEscaperWithStrNoSpecials(b *testing.B) {}

func BenchmarkJSValEscaperWithObj(b *testing.B) {}

func BenchmarkJSValEscaperWithObjNoSpecials(b *testing.B) {}

func BenchmarkJSStrEscaperNoSpecials(b *testing.B) {}

func BenchmarkJSStrEscaper(b *testing.B) {}

func BenchmarkJSRegexpEscaperNoSpecials(b *testing.B) {}

func BenchmarkJSRegexpEscaper(b *testing.B) {}