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

Issue 895793003: Simplify protocal name and port comparison (Closed)

Created:
5 years, 10 months ago by Ian Wen
Modified:
5 years, 8 months ago
Reviewers:
kinuko, Mike West
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Simplify protocal name and port comparison Locking on hashmap initialization may causes problem when constructing referer. Change it to a simpler approach. BUG=373141

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : use switch #

Patch Set 4 : Removed one unnecessary include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M Source/platform/weborigin/KnownPorts.cpp View 1 2 3 2 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
Ian Wen
5 years, 10 months ago (2015-02-03 00:49:40 UTC) #2
kinuko
This one lgtm, but if it's crashing on initialization I believe we can just revert ...
5 years, 10 months ago (2015-02-03 03:52:32 UTC) #3
Ian Wen
mkwst@, could you ptal? :-) https://codereview.chromium.org/895793003/diff/20001/Source/platform/weborigin/KnownPorts.cpp File Source/platform/weborigin/KnownPorts.cpp (right): https://codereview.chromium.org/895793003/diff/20001/Source/platform/weborigin/KnownPorts.cpp#newcode50 Source/platform/weborigin/KnownPorts.cpp:50: return port == 990; ...
5 years, 10 months ago (2015-02-03 19:08:54 UTC) #4
Mike West
LGTM. If you're already poking at this, please consider adding a unit test to verify ...
5 years, 10 months ago (2015-02-03 19:23:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/895793003/40001
5 years, 10 months ago (2015-02-03 21:09:29 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41100)
5 years, 10 months ago (2015-02-03 23:43:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/895793003/60001
5 years, 10 months ago (2015-02-04 08:50:28 UTC) #12
Mike West
Can you add a test in a follow-up patch, please?
5 years, 10 months ago (2015-02-04 09:01:59 UTC) #13
kinuko
+1 On 2015年2月4日(水) 18:02 null <mkwst@chromium.org> wrote: > Can you add a test in a ...
5 years, 10 months ago (2015-02-04 09:59:18 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41302)
5 years, 10 months ago (2015-02-04 11:01:52 UTC) #16
Ian Wen
Sure I will write a test for it later. The current patch is failing on ...
5 years, 10 months ago (2015-02-04 17:51:16 UTC) #17
Mike West
I suspect the mac bot is just sick. :(
5 years, 10 months ago (2015-02-05 11:55:52 UTC) #18
kinuko
5 years, 8 months ago (2015-04-20 06:25:29 UTC) #19
Hey- I think I want to land this (I need this for my other change). I'm taking
over this with a test here: https://codereview.chromium.org/1074913004/

Hope it was fine with you!

Powered by Google App Engine
This is Rietveld 408576698