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

Issue 2705193003: Investigated cause of failing tests for non-standard-scheme matching (Closed)

Created:
3 years, 10 months ago by andypaicu
Modified:
3 years, 10 months ago
Reviewers:
Mike West
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Investigated cause of failing tests for non-standard-scheme matching Turns out it's caused by incorrect url parsing. The host is returned as "" in this particular scenario. Raised bug for this. BUG=692449, 694959 Review-Url: https://codereview.chromium.org/2705193003 Cr-Commit-Position: refs/heads/master@{#452787} Committed: https://chromium.googlesource.com/chromium/src/+/9ad590d1e5dd205d13f39a6bff4795732d3be55a

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp View 1 chunk +6 lines, -4 lines 2 comments Download

Messages

Total messages: 14 (9 generated)
andypaicu
https://codereview.chromium.org/2705193003/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp File third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp (right): https://codereview.chromium.org/2705193003/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp#newcode197 third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp:197: EXPECT_FALSE(source.matches(KURL(base, "non-standard-scheme://a.com"))); Raised bug about this 694959
3 years, 10 months ago (2017-02-22 10:03:11 UTC) #3
Mike West
https://codereview.chromium.org/2705193003/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp File third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp (right): https://codereview.chromium.org/2705193003/diff/1/third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp#newcode197 third_party/WebKit/Source/core/frame/csp/CSPSourceTest.cpp:197: EXPECT_FALSE(source.matches(KURL(base, "non-standard-scheme://a.com"))); On 2017/02/22 at 10:03:11, andypaicu wrote: > ...
3 years, 10 months ago (2017-02-22 15:38:44 UTC) #8
Mike West
LGTM based on DEPS discussion. :) Land it once the tree's not red anymore.
3 years, 10 months ago (2017-02-24 09:05:16 UTC) #9
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/2705193003/1
3 years, 10 months ago (2017-02-24 09:07:20 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 10:26:42 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9ad590d1e5dd205d13f39a6bff47...

Powered by Google App Engine
This is Rietveld 408576698