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

Issue 1294933004: Take care of a FIXME in SecurityOrigin.cpp to check the validity of any innerURL during constructio… (Closed)

Created:
5 years, 4 months ago by michaeln
Modified:
5 years, 3 months ago
Reviewers:
palmer, sof, Mike West, jsbell, brettw
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Take care of a FIXME in SecurityOrigin.cpp to check the validity of any innerURL during construction and to handle invalidity as a 'unique' origin. TBR=mkwst BUG=514076 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201022

Patch Set 1 #

Patch Set 2 : x #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -5 lines) Patch
M Source/platform/weborigin/SecurityOrigin.cpp View 1 chunk +10 lines, -5 lines 2 comments Download
M Source/platform/weborigin/SecurityOriginTest.cpp View 1 2 3 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (11 generated)
michaeln
ptal
5 years, 4 months ago (2015-08-15 00:43:07 UTC) #2
jsbell
lgtm, palmer@ should probably take a look too?
5 years, 4 months ago (2015-08-17 16:30:28 UTC) #3
michaeln
@palmer, ptal
5 years, 4 months ago (2015-08-17 19:01:12 UTC) #5
palmer
LGTM, but mkwst is also a good origin maven to consult.
5 years, 4 months ago (2015-08-17 19:07:33 UTC) #7
Mike West
On 2015/08/17 at 19:07:33, palmer wrote: > LGTM, but mkwst is also a good origin ...
5 years, 4 months ago (2015-08-17 19:42:41 UTC) #8
michaeln
ptal, hooray for unittests! blink arghhh, it took me a while to figure out the ...
5 years, 4 months ago (2015-08-17 23:59:01 UTC) #9
palmer
https://codereview.chromium.org/1294933004/diff/40001/Source/platform/weborigin/SecurityOriginTest.cpp File Source/platform/weborigin/SecurityOriginTest.cpp (right): https://codereview.chromium.org/1294933004/diff/40001/Source/platform/weborigin/SecurityOriginTest.cpp#newcode393 Source/platform/weborigin/SecurityOriginTest.cpp:393: "data:text/plain,hello_world", What should happen for file: URLs? And filesystem:, ...
5 years, 4 months ago (2015-08-18 00:09:17 UTC) #10
michaeln
https://codereview.chromium.org/1294933004/diff/40001/Source/platform/weborigin/SecurityOriginTest.cpp File Source/platform/weborigin/SecurityOriginTest.cpp (right): https://codereview.chromium.org/1294933004/diff/40001/Source/platform/weborigin/SecurityOriginTest.cpp#newcode393 Source/platform/weborigin/SecurityOriginTest.cpp:393: "data:text/plain,hello_world", i've added some more cases, if you'd like ...
5 years, 4 months ago (2015-08-18 20:22:16 UTC) #11
michaeln
palmer@ ping care to take a look at the tests?
5 years, 4 months ago (2015-08-20 00:42:25 UTC) #12
palmer
LGTM. Thanks!
5 years, 4 months ago (2015-08-20 00:52:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294933004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294933004/60001
5 years, 4 months ago (2015-08-20 19:06:36 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/90812)
5 years, 4 months ago (2015-08-20 19:16:14 UTC) #18
michaeln
brettw@ for owners review, ptal
5 years, 4 months ago (2015-08-20 21:12:48 UTC) #20
Mike West
LGTM stampity stamp.
5 years, 4 months ago (2015-08-21 18:41:20 UTC) #21
michaeln
On 2015/08/21 18:41:20, Mike West (traveling) wrote: > LGTM stampity stamp. thnx, i was just ...
5 years, 4 months ago (2015-08-21 18:42:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294933004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294933004/60001
5 years, 4 months ago (2015-08-21 18:43:48 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/43145)
5 years, 4 months ago (2015-08-21 21:17:46 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294933004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294933004/60001
5 years, 4 months ago (2015-08-21 22:04:16 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=201022
5 years, 4 months ago (2015-08-21 22:42:14 UTC) #29
dstockwell
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1315793002/ by dstockwell@chromium.org. ...
5 years, 4 months ago (2015-08-25 04:09:43 UTC) #30
sof
https://codereview.chromium.org/1294933004/diff/60001/Source/platform/weborigin/SecurityOrigin.cpp File Source/platform/weborigin/SecurityOrigin.cpp (right): https://codereview.chromium.org/1294933004/diff/60001/Source/platform/weborigin/SecurityOrigin.cpp#newcode112 Source/platform/weborigin/SecurityOrigin.cpp:112: if (schemeRequiresAuthority(relevantURL) && relevantURL.host().isEmpty()) If relevantURL is now checked ...
5 years, 4 months ago (2015-08-25 13:39:52 UTC) #32
michaeln
https://codereview.chromium.org/1294933004/diff/60001/Source/platform/weborigin/SecurityOrigin.cpp File Source/platform/weborigin/SecurityOrigin.cpp (right): https://codereview.chromium.org/1294933004/diff/60001/Source/platform/weborigin/SecurityOrigin.cpp#newcode112 Source/platform/weborigin/SecurityOrigin.cpp:112: if (schemeRequiresAuthority(relevantURL) && relevantURL.host().isEmpty()) On 2015/08/25 13:39:52, sof wrote: ...
5 years, 4 months ago (2015-08-25 22:47:42 UTC) #33
sof
On 2015/08/25 22:47:42, michaeln wrote: > https://codereview.chromium.org/1294933004/diff/60001/Source/platform/weborigin/SecurityOrigin.cpp > File Source/platform/weborigin/SecurityOrigin.cpp (right): > > https://codereview.chromium.org/1294933004/diff/60001/Source/platform/weborigin/SecurityOrigin.cpp#newcode112 > ...
5 years, 3 months ago (2015-08-26 07:38:26 UTC) #34
michaeln
On 2015/08/26 07:38:26, sof wrote: > On 2015/08/25 22:47:42, michaeln wrote: > > > https://codereview.chromium.org/1294933004/diff/60001/Source/platform/weborigin/SecurityOrigin.cpp ...
5 years, 3 months ago (2015-08-26 21:58:29 UTC) #35
palmer
> I guess the question is whether an http+s or ftp url can be valid ...
5 years, 3 months ago (2015-08-26 22:07:23 UTC) #36
michaeln
5 years, 3 months ago (2015-08-27 01:42:06 UTC) #37
Message was sent while issue was closed.
ok, lets see wha happens over in https://codereview.chromium.org/1320793002/

Powered by Google App Engine
This is Rietveld 408576698