Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 6454131: code review 6454131: exp/html: discard tags that are terminated by EOF inste... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by andybalholm
Modified:
12 years, 7 months ago
Reviewers:
CC:
nigeltao, golang-dev
Visibility:
Public.

Description

exp/html: discard tags that are terminated by EOF instead of by '>' If a tag doesn't have a closing '>', it isn't considered a tag; it is just ignored and EOF is returned instead. Pass one additional test in the test suite. Change tokenizer tests to match correct behavior.

Patch Set 1 #

Patch Set 2 : diff -r 62f087306b18 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 62f087306b18 https://go.googlecode.com/hg/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -9 lines) Patch
M src/pkg/exp/html/testlogs/webkit02.dat.log View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/exp/html/token.go View 1 2 chunks +6 lines, -2 lines 1 comment Download
M src/pkg/exp/html/token_test.go View 1 5 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 3
andybalholm
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 7 months ago (2012-08-10 15:35:32 UTC) #1
nigeltao
LGTM. Huh. I'm pretty sure that, when the token tests were first written, they matched ...
12 years, 7 months ago (2012-08-13 02:06:48 UTC) #2
nigeltao
12 years, 7 months ago (2012-08-13 02:08:00 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=b855390a295f ***

exp/html: discard tags that are terminated by EOF instead of by '>'

If a tag doesn't have a closing '>', it isn't considered a tag;
it is just ignored and EOF is returned instead.

Pass one additional test in the test suite.

Change tokenizer tests to match correct behavior.

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6454131

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b