]> Cypherpunks repositories - gostls13.git/commit
exp/html: allow frameset if body contains whitespace
authorAndrew Balholm <andybalholm@gmail.com>
Wed, 25 Jul 2012 02:09:58 +0000 (12:09 +1000)
committerNigel Tao <nigeltao@golang.org>
Wed, 25 Jul 2012 02:09:58 +0000 (12:09 +1000)
commit4d2251967847cf9b710da09525c676a7e733113d
treea5ce5a913ecb0f771747711c3df808605e785f44
parent3e980e24c115dba89f53e09d8c597db32a6ffc2e
exp/html: allow frameset if body contains whitespace

If the body of an HTML document contains text, the <frameset> tag is
ignored. But not if the text is only whitespace.

Pass 4 additional tests.

R=nigeltao
CC=golang-dev
https://golang.org/cl/6442043
src/pkg/exp/html/parse.go
src/pkg/exp/html/testlogs/plain-text-unsafe.dat.log
src/pkg/exp/html/testlogs/tests19.dat.log