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

Issue 246433004: Rename cookieURL to inheritedURL and add inheritedURL() to WebDocument (Closed)

Created:
6 years, 8 months ago by robwu
Modified:
6 years, 8 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, jamesr, gavinp+loader_chromium.org, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, Inactive, Nate Chapin, rwlbuis, dcheng
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Rename cookieURL to inheritedURL and add inheritedURL() to WebDocument Needed to make decisions based on the inherited URL in Chromium code, https://codereview.chromium.org/226663003/

Patch Set 1 #

Total comments: 2

Patch Set 2 : weaken statement about inheritedURL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -15 lines) Patch
M Source/core/dom/Document.h View 1 2 chunks +9 lines, -6 lines 0 comments Download
M Source/core/dom/Document.cpp View 6 chunks +6 lines, -6 lines 0 comments Download
M Source/core/loader/CookieJar.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/xml/XSLTProcessor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebDocument.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebDocument.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
robwu
In https://codereview.chromium.org/226663003/, I need to know the inherited URL of an about:blank frame to find ...
6 years, 8 months ago (2014-04-22 13:23:01 UTC) #1
abarth-chromium
not lgtm https://codereview.chromium.org/246433004/diff/1/Source/core/dom/Document.h File Source/core/dom/Document.h (right): https://codereview.chromium.org/246433004/diff/1/Source/core/dom/Document.h#newcode760 Source/core/dom/Document.h:760: // (inherited) URL, e.g. querying the cookie ...
6 years, 8 months ago (2014-04-22 17:36:21 UTC) #2
robwu
https://codereview.chromium.org/246433004/diff/1/Source/core/dom/Document.h File Source/core/dom/Document.h (right): https://codereview.chromium.org/246433004/diff/1/Source/core/dom/Document.h#newcode760 Source/core/dom/Document.h:760: // (inherited) URL, e.g. querying the cookie database for ...
6 years, 8 months ago (2014-04-22 19:05:50 UTC) #3
abarth-chromium
I don't think we should add more clients of the cookieURL. It's some goofy thing ...
6 years, 8 months ago (2014-04-22 19:11:33 UTC) #4
robwu
On 2014/04/22 19:11:33, abarth wrote: > I don't think we should add more clients of ...
6 years, 8 months ago (2014-04-22 19:16:52 UTC) #5
abarth-chromium
On 2014/04/22 19:16:52, robwu wrote: > Content script injection decisions are based on .url() because ...
6 years, 8 months ago (2014-04-22 20:44:14 UTC) #6
robwu
On 2014/04/22 20:44:14, abarth wrote: > On 2014/04/22 19:16:52, robwu wrote: > > Content script ...
6 years, 8 months ago (2014-04-22 21:22:58 UTC) #7
abarth-chromium
On 2014/04/22 21:22:58, robwu wrote: > Do you know of an alternative besides not supporting ...
6 years, 8 months ago (2014-04-22 23:44:05 UTC) #8
robwu
6 years, 8 months ago (2014-04-23 08:20:07 UTC) #9
On 2014/04/22 23:44:05, abarth wrote:
> On 2014/04/22 21:22:58, robwu wrote:
> > Do you know of an alternative besides not supporting paths?
> 
> I'm sorry, but I don't have the bandwidth to help you solve this problem.  I
> don't think we want to use the cookieURL for the reasons described above.

Ok, I will stick to the origin-only checks.
Thanks for the review!

Powered by Google App Engine
This is Rietveld 408576698