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

Issue 236013006: Remove completeURL() call from WebSocket construction code (Closed)

Created:
6 years, 8 months ago by tyoshino (SeeGerritForStatus)
Modified:
6 years, 8 months ago
Reviewers:
Adam Rice
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove completeURL() call from WebSocket construction code The WebSocket constructor takes only absolute URLs. See this spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html#parse-a-websocket-url's-components This completeURL() call is not just unnecessary but converting given data into invalid data. Also, implicit KURL to String conversion happened on WebCore::WebSocket::connect() call caused spec violation. That is it accepted URLs with double colons i.e. "ws:://example.com" by mistake. BUG=322818 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171524

Patch Set 1 #

Patch Set 2 : Updated virtual/stable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -7 lines) Patch
M LayoutTests/http/tests/websocket/url-parsing.html View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/websocket/url-parsing-expected.txt View 2 chunks +4 lines, -3 lines 0 comments Download
M LayoutTests/virtual/stable/http/tests/websocket/url-parsing-expected.txt View 1 2 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/websockets/WebSocket.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
tyoshino (SeeGerritForStatus)
6 years, 8 months ago (2014-04-14 09:12:19 UTC) #1
Adam Rice
lgtm It looks like the error message in the SyntaxError we return if a relative ...
6 years, 8 months ago (2014-04-14 09:36:50 UTC) #2
Adam Rice
On 2014/04/14 09:36:50, Adam Rice wrote: > lgtm > > It looks like the error ...
6 years, 8 months ago (2014-04-14 09:38:23 UTC) #3
tyoshino (SeeGerritForStatus)
On 2014/04/14 09:38:23, Adam Rice wrote: > On 2014/04/14 09:36:50, Adam Rice wrote: > > ...
6 years, 8 months ago (2014-04-14 09:41:25 UTC) #4
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 8 months ago (2014-04-14 09:41:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/236013006/1
6 years, 8 months ago (2014-04-14 09:41:36 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-14 10:10:09 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 8 months ago (2014-04-14 10:10:10 UTC) #8
tyoshino (SeeGerritForStatus)
Updated the virtual/stable expectation.
6 years, 8 months ago (2014-04-14 23:34:27 UTC) #9
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 8 months ago (2014-04-14 23:34:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/236013006/20001
6 years, 8 months ago (2014-04-14 23:34:59 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 00:11:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 8 months ago (2014-04-15 00:11:04 UTC) #13
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 8 months ago (2014-04-15 00:19:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/236013006/20001
6 years, 8 months ago (2014-04-15 00:19:40 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 00:46:58 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-15 00:46:59 UTC) #17
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 8 months ago (2014-04-15 00:53:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/236013006/20001
6 years, 8 months ago (2014-04-15 00:54:04 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 01:20:28 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 8 months ago (2014-04-15 01:20:29 UTC) #21
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 8 months ago (2014-04-15 01:41:44 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/236013006/20001
6 years, 8 months ago (2014-04-15 01:42:04 UTC) #23
commit-bot: I haz the power
6 years, 8 months ago (2014-04-15 02:15:30 UTC) #24
Message was sent while issue was closed.
Change committed as 171524

Powered by Google App Engine
This is Rietveld 408576698