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

Issue 601038: Specify the first-party-for-cookies URL for HTTP requests... (Closed)

Created:
10 years, 10 months ago by wtc
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw+cc_chromium.org, darin+cc_chromium.org
Visibility:
Public.

Description

Specify the first-party-for-cookies URL for HTTP requests issued by plugins. Fix formatting nits. R=abarth,darin,eroman BUG=36957 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=40331

Patch Set 1 #

Total comments: 3

Patch Set 2 : [Experimental] Do not call CompleteURL. Use webframe_->top()->url(). #

Patch Set 3 : Remove plumbing of page_url because it's readily available in WebPluginImpl. #

Patch Set 4 : Remove unrelated formatting fixes. #

Total comments: 3

Patch Set 5 : Add TODO comments about WebDocument::firstPartyForCookies. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M webkit/glue/webplugin_impl.cc View 1 2 3 4 4 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
wtc
Could you suggest someone who knows WebKit and plugins to work with me on this ...
10 years, 10 months ago (2010-02-11 03:41:28 UTC) #1
abarth-chromium
I'd prefer if we called the value first_party_for_cookies in network-related code. Other than that, looks ...
10 years, 10 months ago (2010-02-11 05:08:00 UTC) #2
darin (slow to review)
http://codereview.chromium.org/601038/diff/1/5 File webkit/glue/webplugin_impl.cc (right): http://codereview.chromium.org/601038/diff/1/5#newcode559 webkit/glue/webplugin_impl.cc:559: // TODO(wtc): Is there a better way to construct ...
10 years, 10 months ago (2010-02-11 09:18:55 UTC) #3
eroman
Rather than plumbing through the page URL, it looks like you are only accessing it ...
10 years, 10 months ago (2010-02-19 00:09:23 UTC) #4
wtc
abarth, darin, eroman: This CL is now ready for review. Please review Patch Set 4. ...
10 years, 10 months ago (2010-02-27 01:18:57 UTC) #5
abarth_gmail.com
LGTM modulo null checking issues.
10 years, 10 months ago (2010-02-27 01:30:51 UTC) #6
eroman
LGTM
10 years, 10 months ago (2010-02-27 01:53:16 UTC) #7
darin (slow to review)
http://codereview.chromium.org/601038/diff/6006/6007 File webkit/glue/webplugin_impl.cc (right): http://codereview.chromium.org/601038/diff/6006/6007#newcode560 webkit/glue/webplugin_impl.cc:560: request.setFirstPartyForCookies(webframe_->top()->url()); it should be safe to assume that top ...
10 years, 10 months ago (2010-02-27 05:59:04 UTC) #8
abarth-chromium
http://codereview.chromium.org/601038/diff/6006/6007 File webkit/glue/webplugin_impl.cc (right): http://codereview.chromium.org/601038/diff/6006/6007#newcode956 webkit/glue/webplugin_impl.cc:956: info.request.setFirstPartyForCookies(webframe_->top()->url()); Yeah. That's probably a good idea. I feel ...
10 years, 10 months ago (2010-02-27 07:12:27 UTC) #9
wtc
I filed webkit bug https://bugs.webkit.org/show_bug.cgi?id=35592 on exposing the WebDocument::firstPartyForCookies property.
10 years, 9 months ago (2010-03-02 19:25:12 UTC) #10
wtc
10 years, 9 months ago (2010-03-04 00:58:50 UTC) #11
On 2010/02/19 00:09:23, eroman wrote:
>
> As a side-comment, do you know why WebPluginProxy::HandleURLRequest() is using
> all those C-Strings for URLs rather than GURL or std::string? (cstrings always
> concern me, for problems like embedded nulls; although technically if the URL
> was canonicalized we shouldn't have those, but still).

I forgot to respond to this.  I also noticed this problem when
I wrote the original patch.  I don't know why, and didn't
investigate how much work it is to change them to pass GURLs.

Powered by Google App Engine
This is Rietveld 408576698