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

Issue 246893014: Add a WebSettings item to turn off mixed content check for WebSocket (Closed)

Created:
6 years, 8 months ago by tyoshino (SeeGerritForStatus)
Modified:
6 years, 8 months ago
CC:
blink-reviews, jamesr, dglazkov+blink, Nate Chapin, gavinp+loader_chromium.org
Visibility:
Public.

Description

Add a WebSettings item to turn off mixed content check for WebSocket https://codereview.chromium.org/222153002/ will ban use of insecure WebSockets from HTTPS origin. To give time for app developers to fix their app and roll-out fixed version widely to get ready for this change, we'll provide a WebSettings item to turn off the security check. To limit this exception to WebSockets, I added a new item that controls only WebSockets. After this CL is landed, I'll land https://codereview.chromium.org/248863003/ and then https://codereview.chromium.org/222153002/ BUG=85271 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172454

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M Source/core/frame/Settings.in View 1 chunk +1 line, -0 lines 2 comments Download
M Source/core/loader/MixedContentChecker.h View 1 2 chunks +10 lines, -2 lines 0 comments Download
M Source/core/loader/MixedContentChecker.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/web/WebSettingsImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebSettingsImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebSettings.h View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
tyoshino (SeeGerritForStatus)
6 years, 8 months ago (2014-04-23 06:57:09 UTC) #1
yhirano
lgtm https://codereview.chromium.org/246893014/diff/1/Source/core/loader/MixedContentChecker.h File Source/core/loader/MixedContentChecker.h (right): https://codereview.chromium.org/246893014/diff/1/Source/core/loader/MixedContentChecker.h#newcode63 Source/core/loader/MixedContentChecker.h:63: bool canRunInsecureContentInternal(SecurityOrigin*, const KURL&, bool) const; Can you ...
6 years, 8 months ago (2014-04-23 08:07:47 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/246893014/diff/1/Source/core/loader/MixedContentChecker.h File Source/core/loader/MixedContentChecker.h (right): https://codereview.chromium.org/246893014/diff/1/Source/core/loader/MixedContentChecker.h#newcode63 Source/core/loader/MixedContentChecker.h:63: bool canRunInsecureContentInternal(SecurityOrigin*, const KURL&, bool) const; On 2014/04/23 08:07:48, ...
6 years, 8 months ago (2014-04-23 12:39:27 UTC) #3
tyoshino (SeeGerritForStatus)
+jochen
6 years, 8 months ago (2014-04-23 12:58:05 UTC) #4
jochen (gone - plz use gerrit)
The referenced bug appears to be unrelated? Can you please get somebody from the security ...
6 years, 8 months ago (2014-04-23 13:00:53 UTC) #5
tyoshino (SeeGerritForStatus)
On 2014/04/23 13:00:53, jochen wrote: > The referenced bug appears to be unrelated? > Sorry. ...
6 years, 8 months ago (2014-04-23 13:11:25 UTC) #6
abarth-chromium
What sorts of app developers do you mean?
6 years, 8 months ago (2014-04-23 17:58:45 UTC) #7
abarth-chromium
On 2014/04/23 17:58:45, abarth wrote: > What sorts of app developers do you mean? The ...
6 years, 8 months ago (2014-04-23 18:01:29 UTC) #8
palmer
> We have the catch-all --disable-web-security, which disables all security > checks. Is that sufficient ...
6 years, 8 months ago (2014-04-23 22:59:00 UTC) #9
palmer
Oops, my bad. This does LGTM because it is known to be temporary. abarth, ping ...
6 years, 8 months ago (2014-04-23 23:01:50 UTC) #10
abarth-chromium
No test partner? LGTM https://codereview.chromium.org/246893014/diff/20001/Source/core/frame/Settings.in File Source/core/frame/Settings.in (right): https://codereview.chromium.org/246893014/diff/20001/Source/core/frame/Settings.in#newcode130 Source/core/frame/Settings.in:130: allowConnectingInsecureWebSocket initial=false Can you add ...
6 years, 8 months ago (2014-04-23 23:12:43 UTC) #11
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/246893014/diff/20001/Source/core/frame/Settings.in File Source/core/frame/Settings.in (right): https://codereview.chromium.org/246893014/diff/20001/Source/core/frame/Settings.in#newcode130 Source/core/frame/Settings.in:130: allowConnectingInsecureWebSocket initial=false On 2014/04/23 23:12:43, abarth wrote: > Can ...
6 years, 8 months ago (2014-04-24 03:37:09 UTC) #12
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 8 months ago (2014-04-24 03:37:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tyoshino@chromium.org/246893014/20001
6 years, 8 months ago (2014-04-24 03:37:29 UTC) #14
tyoshino (SeeGerritForStatus)
On 2014/04/23 23:12:43, abarth wrote: > No test partner? LGTM I'm happy to write some ...
6 years, 8 months ago (2014-04-24 03:40:58 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-24 04:08:33 UTC) #16
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-24 04:08:33 UTC) #17
tyoshino (SeeGerritForStatus)
The CQ bit was checked by tyoshino@chromium.org
6 years, 8 months ago (2014-04-24 04:16:18 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/246893014/20001
6 years, 8 months ago (2014-04-24 04:16:26 UTC) #19
commit-bot: I haz the power
Change committed as 172454
6 years, 8 months ago (2014-04-24 04:53:51 UTC) #20
tyoshino (SeeGerritForStatus)
6 years, 8 months ago (2014-04-24 05:50:49 UTC) #21
Message was sent while issue was closed.
I failed to commit the latest file. https://codereview.chromium.org/254563002/
will add the comment suggested by abarth@.

Powered by Google App Engine
This is Rietveld 408576698