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

Issue 2449233002: Add suborigins to WebSecurityOrigin (Closed)

Created:
4 years, 1 month ago by jww
Modified:
4 years, 1 month ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add suborigins to WebSecurityOrigin Suborigins were not passed through conversions from SecurityOrigin -> WebSecurityOrigin, and also not from url::Origin -> WebSecurityOrigin. This CL adds support to make sure they are added to WebSecurityOrigin from their respective origination points, and it also adds accessors to WebSecurityOrigin to get the suborigin value. BUG=658992 Committed: https://crrev.com/908428c015af7f9aac62b6377809191d5677ce12 Cr-Commit-Position: refs/heads/master@{#427828}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments from mkwst #

Patch Set 3 : Rebase on ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -67 lines) Patch
M content/child/blink_platform_impl_unittest.cc View 1 chunk +64 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp View 2 chunks +23 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp View 1 3 chunks +15 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOriginTest.cpp View 1 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebSecurityOrigin.h View 3 chunks +13 lines, -6 lines 0 comments Download
M url/origin.h View 2 chunks +9 lines, -0 lines 0 comments Download
M url/origin.cc View 2 chunks +13 lines, -2 lines 0 comments Download
M url/origin_unittest.cc View 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
jww
Hi folks. Can you take a look at this? I believe it should fix https://crbug.com/658992 ...
4 years, 1 month ago (2016-10-25 21:22:12 UTC) #2
Charlie Harrison
Thanks for tackling this so quickly. I'll try to review this tomorrow.
4 years, 1 month ago (2016-10-25 21:23:41 UTC) #3
jww
On 2016/10/25 21:23:41, Charlie Harrison wrote: > Thanks for tackling this so quickly. I'll try ...
4 years, 1 month ago (2016-10-25 21:26:07 UTC) #4
Charlie Harrison
On 2016/10/25 21:26:07, jww wrote: > On 2016/10/25 21:23:41, Charlie Harrison wrote: > > Thanks ...
4 years, 1 month ago (2016-10-25 21:28:41 UTC) #5
Charlie Harrison
non owner LGTM, thanks again.
4 years, 1 month ago (2016-10-26 00:29:07 UTC) #6
Charlie Harrison
For some reason I assumed dry-run already passed... let's do a dry run.
4 years, 1 month ago (2016-10-26 00:38:56 UTC) #7
Mike West
Thanks! https://codereview.chromium.org/2449233002/diff/1/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp File third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp (right): https://codereview.chromium.org/2449233002/diff/1/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp#newcode135 third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp:135: } Nit: No {} for single-line clause. https://codereview.chromium.org/2449233002/diff/1/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp#newcode537 ...
4 years, 1 month ago (2016-10-26 08:22:23 UTC) #16
Mike West
Perhaps jochen@ can stamp //content/child for you?
4 years, 1 month ago (2016-10-26 08:23:14 UTC) #18
jochen (gone - plz use gerrit)
lgtm
4 years, 1 month ago (2016-10-26 08:25:18 UTC) #19
jww
https://codereview.chromium.org/2449233002/diff/1/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp File third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp (right): https://codereview.chromium.org/2449233002/diff/1/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp#newcode135 third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp:135: } On 2016/10/26 08:22:23, Mike West wrote: > Nit: ...
4 years, 1 month ago (2016-10-26 16:53:00 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2449233002/40001
4 years, 1 month ago (2016-10-26 16:53:37 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-26 21:52:23 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 21:54:11 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/908428c015af7f9aac62b6377809191d5677ce12
Cr-Commit-Position: refs/heads/master@{#427828}

Powered by Google App Engine
This is Rietveld 408576698