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

Issue 298273008: Improve scheme validation check in NavigatorContentUtils (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
Visibility:
Public.

Description

Improve scheme validation check in NavigatorContentUtils Though r174748 added a test case to check if scheme contains colon, it would be better if scheme contains colon explicitly. This cl checks scheme contains colon. if so, this cl generates syntax error exception. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175104

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

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

Messages

Total messages: 13 (0 generated)
gyuyoung-inactive
6 years, 6 months ago (2014-05-29 04:14:52 UTC) #1
haraken
https://codereview.chromium.org/298273008/diff/40001/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html File LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html (left): https://codereview.chromium.org/298273008/diff/40001/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html#oldcode31 LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html:31: var invalid_schemes = ['mailto:', 'ssh:/', 'magnet:+', 'tel:sip']; You removed ...
6 years, 6 months ago (2014-05-29 04:20:08 UTC) #2
gyuyoung-inactive
https://codereview.chromium.org/298273008/diff/40001/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html File LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html (left): https://codereview.chromium.org/298273008/diff/40001/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html#oldcode31 LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html:31: var invalid_schemes = ['mailto:', 'ssh:/', 'magnet:+', 'tel:sip']; On 2014/05/29 ...
6 years, 6 months ago (2014-05-29 05:01:35 UTC) #3
haraken
LGTM
6 years, 6 months ago (2014-05-29 12:57:29 UTC) #4
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 6 months ago (2014-05-29 13:18:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/298273008/60001
6 years, 6 months ago (2014-05-29 13:19:13 UTC) #6
gyuyoung-inactive
The CQ bit was unchecked by gyuyoung.kim@samsung.com
6 years, 6 months ago (2014-05-30 03:03:58 UTC) #7
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 6 months ago (2014-05-30 03:04:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/298273008/60001
6 years, 6 months ago (2014-05-30 03:05:27 UTC) #9
gyuyoung-inactive
The CQ bit was unchecked by gyuyoung.kim@samsung.com
6 years, 6 months ago (2014-05-30 03:07:18 UTC) #10
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 6 months ago (2014-05-30 04:17:52 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/298273008/60001
6 years, 6 months ago (2014-05-30 04:20:18 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 04:21:53 UTC) #13
Message was sent while issue was closed.
Change committed as 175104

Powered by Google App Engine
This is Rietveld 408576698