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

Issue 47770043: code review 47770043: go.net/html: Expose data read from the input reader but...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by piatek
Modified:
11 years, 2 months ago
Reviewers:
bradfitz
CC:
bradfitz, golang-codereviews
Visibility:
Public.

Description

go.net/html: Expose data read from the input reader but not yet tokenized in Tokenizer. This allows clients to efficiently reconstruct the original input in the case of ErrBufferExceeded. TestMaxBufferReconstruction now properly verifies this.

Patch Set 1 #

Patch Set 2 : diff -r 241993936603 http://code.google.com/p/go.net #

Patch Set 3 : diff -r 241993936603 http://code.google.com/p/go.net #

Patch Set 4 : diff -r 241993936603 http://code.google.com/p/go.net #

Patch Set 5 : diff -r 241993936603 http://code.google.com/p/go.net #

Patch Set 6 : diff -r 241993936603 http://code.google.com/p/go.net #

Total comments: 4

Patch Set 7 : diff -r 241993936603 http://code.google.com/p/go.net #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -10 lines) Patch
M html/token.go View 1 1 chunk +5 lines, -0 lines 0 comments Download
M html/token_test.go View 1 2 3 4 5 6 3 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 5
piatek
Hello bradfitz (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to http://code.google.com/p/go.net
11 years, 2 months ago (2014-01-04 05:54:48 UTC) #1
bradfitz
https://codereview.appspot.com/47770043/diff/80001/html/token.go File html/token.go (right): https://codereview.appspot.com/47770043/diff/80001/html/token.go#newcode291 html/token.go:291: return z.buf[z.raw.end:] I was going to complain that this ...
11 years, 2 months ago (2014-01-06 18:30:24 UTC) #2
piatek
https://codereview.appspot.com/47770043/diff/80001/html/token.go File html/token.go (right): https://codereview.appspot.com/47770043/diff/80001/html/token.go#newcode291 html/token.go:291: return z.buf[z.raw.end:] On 2014/01/06 18:30:24, bradfitz wrote: > I ...
11 years, 2 months ago (2014-01-06 18:43:49 UTC) #3
bradfitz
LGTM
11 years, 2 months ago (2014-01-06 18:49:56 UTC) #4
bradfitz
11 years, 2 months ago (2014-01-06 18:51:25 UTC) #5
*** Submitted as
https://code.google.com/p/go/source/detail?r=2b669bbfb7ba&repo=net ***

go.net/html: Expose data read from the input reader but not yet tokenized in
Tokenizer.

This allows clients to efficiently reconstruct the original input in the case of
ErrBufferExceeded. TestMaxBufferReconstruction now properly verifies this.

R=bradfitz
CC=golang-codereviews
https://codereview.appspot.com/47770043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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