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

Issue 349193002: Call isValidProtocol() function first in order to remove duplicated protocol checking in NavigatorC… (Closed)

Created:
6 years, 6 months ago by gyuyoung-inactive
Modified:
6 years, 6 months ago
Reviewers:
haraken
CC:
blink-reviews, gyuyoung.kim_webkit.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Call isValidProtocol() function first in order to remove duplicated protocol checking in NavigatorContentUtils isValidProtocol() can check if protocl contains colon. If we call isValidProtocol() first in verifyProtocolHandlerScheme(), we're able to remove unnecessary protocol checking logic. TEST=navigatorcontentutils BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176894

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -14 lines) Patch
M LayoutTests/navigatorcontentutils/is-protocol-handler-registered.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/navigatorcontentutils/register-protocol-handler.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/navigatorcontentutils/unregister-protocol-handler.html View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp View 1 1 chunk +8 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
gyuyoung-inactive
Add haraken to reviewer.
6 years, 6 months ago (2014-06-23 13:38:23 UTC) #1
haraken
https://codereview.chromium.org/349193002/diff/1/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp File Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp (left): https://codereview.chromium.org/349193002/diff/1/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp#oldcode126 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp:126: exceptionState.throwDOMException(SyntaxError, "The scheme '" + scheme + "' contains ...
6 years, 6 months ago (2014-06-23 13:47:17 UTC) #2
gyuyoung-inactive
https://codereview.chromium.org/349193002/diff/1/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp File Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp (left): https://codereview.chromium.org/349193002/diff/1/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp#oldcode126 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp:126: exceptionState.throwDOMException(SyntaxError, "The scheme '" + scheme + "' contains ...
6 years, 6 months ago (2014-06-24 05:09:56 UTC) #3
haraken
On 2014/06/24 05:09:56, gyuyoung wrote: > https://codereview.chromium.org/349193002/diff/1/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp > File Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp (left): > > https://codereview.chromium.org/349193002/diff/1/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp#oldcode126 > ...
6 years, 6 months ago (2014-06-24 05:12:29 UTC) #4
gyuyoung-inactive
On 2014/06/24 05:12:29, haraken wrote: > On 2014/06/24 05:09:56, gyuyoung wrote: > > > https://codereview.chromium.org/349193002/diff/1/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp ...
6 years, 6 months ago (2014-06-24 05:17:45 UTC) #5
gyuyoung-inactive
On 2014/06/24 05:17:45, gyuyoung wrote: > And, let me check firefox behavior soon. When running ...
6 years, 6 months ago (2014-06-24 08:07:24 UTC) #6
haraken
On 2014/06/24 08:07:24, gyuyoung wrote: > On 2014/06/24 05:17:45, gyuyoung wrote: > > > And, ...
6 years, 6 months ago (2014-06-24 08:14:46 UTC) #7
gyuyoung-inactive
On 2014/06/24 08:14:46, haraken wrote: > On 2014/06/24 08:07:24, gyuyoung wrote: > > On 2014/06/24 ...
6 years, 6 months ago (2014-06-24 08:20:40 UTC) #8
gyuyoung-inactive
On 2014/06/24 08:20:40, gyuyoung wrote: > On 2014/06/24 08:14:46, haraken wrote: > > On 2014/06/24 ...
6 years, 6 months ago (2014-06-24 22:15:54 UTC) #9
haraken
On 2014/06/24 22:15:54, gyuyoung wrote: > On 2014/06/24 08:20:40, gyuyoung wrote: > > On 2014/06/24 ...
6 years, 6 months ago (2014-06-24 23:18:42 UTC) #10
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 6 months ago (2014-06-24 23:32:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/349193002/20001
6 years, 6 months ago (2014-06-24 23:32:20 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-25 00:35:53 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-06-25 01:26:58 UTC) #14
Message was sent while issue was closed.
Change committed as 176894

Powered by Google App Engine
This is Rietveld 408576698