Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Issue 11576038: Beware of print-read inconsistency when serializing GURLs. (Closed)

Created:
8 years ago by Tom Sepez
Modified:
8 years ago
Reviewers:
brettw
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Beware of print-read inconsistency when serializing GURLs. BUG=165622 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173583

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M content/public/common/common_param_traits.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Tom Sepez
This is a straightforward fix to the underlying bug until we can rewrite GURL serialization ...
8 years ago (2012-12-14 21:57:01 UTC) #1
jam
I'm not that familiar with the internals of GURL, so redirecting to brettw who wrote ...
8 years ago (2012-12-14 23:00:59 UTC) #2
brettw
GURL stuff LGTM. In changing the serialization of GURL, it seems like we will need ...
8 years ago (2012-12-15 00:21:00 UTC) #3
Tom Sepez
Hey John, do you know if the perf bots will break if I land this? ...
8 years ago (2012-12-15 00:26:11 UTC) #4
Tom Sepez
John, Brett, let me know if you like this version better where I try to ...
8 years ago (2012-12-17 18:36:02 UTC) #5
jam
On 2012/12/15 00:26:11, Tom Sepez wrote: > Hey John, do you know if the perf ...
8 years ago (2012-12-17 18:45:20 UTC) #6
jam
On 2012/12/17 18:36:02, Tom Sepez wrote: > John, Brett, let me know if you like ...
8 years ago (2012-12-17 18:45:32 UTC) #7
brettw
https://codereview.chromium.org/11576038/diff/12001/content/public/common/common_param_traits.cc File content/public/common/common_param_traits.cc (right): https://codereview.chromium.org/11576038/diff/12001/content/public/common/common_param_traits.cc#newcode75 content/public/common/common_param_traits.cc:75: *p = GURL(); If we're going to do this, ...
8 years ago (2012-12-17 18:53:23 UTC) #8
Tom Sepez
> If we're going to do this, why not just have Write() write an empty ...
8 years ago (2012-12-17 18:59:35 UTC) #9
brettw
That's why I was asking about doing a "better" patch. There is a GURL constructor ...
8 years ago (2012-12-17 19:09:56 UTC) #10
Tom Sepez
Turns out PS#2 won't work since it would trip the NOTREACHED() at line 24 of ...
8 years ago (2012-12-17 19:10:19 UTC) #11
Tom Sepez
Yep. In the mean time, ps#3 stops the bleeding until we can design a better ...
8 years ago (2012-12-17 19:30:29 UTC) #12
brettw
lgtm https://codereview.chromium.org/11576038/diff/28001/content/public/common/common_param_traits.cc File content/public/common/common_param_traits.cc (right): https://codereview.chromium.org/11576038/diff/28001/content/public/common/common_param_traits.cc#newcode58 content/public/common/common_param_traits.cc:58: // type as GURL. Can you file a ...
8 years ago (2012-12-17 20:25:00 UTC) #13
Tom Sepez
https://codereview.chromium.org/11576038/diff/28001/content/public/common/common_param_traits.cc File content/public/common/common_param_traits.cc (right): https://codereview.chromium.org/11576038/diff/28001/content/public/common/common_param_traits.cc#newcode58 content/public/common/common_param_traits.cc:58: // type as GURL. On 2012/12/17 20:25:00, brettw wrote: ...
8 years ago (2012-12-17 20:53:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/11576038/25002
8 years ago (2012-12-17 21:00:49 UTC) #15
commit-bot: I haz the power
8 years ago (2012-12-18 00:01:52 UTC) #16
Message was sent while issue was closed.
Change committed as 173583

Powered by Google App Engine
This is Rietveld 408576698