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

Issue 23437013: Consider "mixed content XHR" as mixed script instead of mixed display. (Closed)

Created:
7 years, 3 months ago by Tom Sepez
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, Nate Chapin, eae+blinkwatch, gavinp+loader_chromium.org
Visibility:
Public.

Description

Consider "mixed content XHR" as mixed script instead of mixed display. Second attempt. The first attempt at https://codereview.chromium.org/14619021/ was reverted because it was over-aggressive: it could not distinguish between raw XHR requests and other RAW (audio/video) request. This CL adds a new flag to ResourceLoaderOptions to distinguish the two cases, and check this in ResourceFetcher.cpp. DocumentThreadableLoader's sync case is then made to use the new checking code in ResourceFetcher in place of its own check. BUG=239540 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157139

Patch Set 1 #

Patch Set 2 : Tidy up a bit. #

Patch Set 3 : Add missing test expectation file. #

Total comments: 2

Patch Set 4 : Add TreatAsDefaultForType #

Patch Set 5 : Tidy. #

Messages

Total messages: 10 (0 generated)
Tom Sepez
Adam, please review.
7 years, 3 months ago (2013-08-28 21:27:24 UTC) #1
Chris Evans
On 2013/08/28 21:27:24, Tom Sepez wrote: > Adam, please review. [FWIW, the first attempt also ...
7 years, 3 months ago (2013-08-28 21:29:02 UTC) #2
Tom Sepez
@japhet - do you have an opinion on whether this would be cleaner if type() ...
7 years, 3 months ago (2013-08-29 17:59:54 UTC) #3
Tom Sepez
> @japhet - do you have an opinion on whether this would be cleaner if ...
7 years, 3 months ago (2013-08-29 20:38:49 UTC) #4
abarth-chromium
https://codereview.chromium.org/23437013/diff/8001/Source/core/fetch/ResourceFetcher.cpp File Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/23437013/diff/8001/Source/core/fetch/ResourceFetcher.cpp#newcode349 Source/core/fetch/ResourceFetcher.cpp:349: } Should this be "else if" ? I don't ...
7 years, 3 months ago (2013-08-30 06:37:07 UTC) #5
Tom Sepez
On 2013/08/30 06:37:07, abarth wrote: > https://codereview.chromium.org/23437013/diff/8001/Source/core/fetch/ResourceFetcher.cpp > File Source/core/fetch/ResourceFetcher.cpp (right): > > https://codereview.chromium.org/23437013/diff/8001/Source/core/fetch/ResourceFetcher.cpp#newcode349 > ...
7 years, 3 months ago (2013-08-30 17:09:50 UTC) #6
Tom Sepez
Adam, I stopped short of asserting that all uses of type Raw had to specify ...
7 years, 3 months ago (2013-08-30 17:58:40 UTC) #7
abarth-chromium
lgtm
7 years, 3 months ago (2013-09-03 15:48:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/23437013/26001
7 years, 3 months ago (2013-09-03 16:38:58 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-03 17:54:07 UTC) #10
Message was sent while issue was closed.
Change committed as 157139

Powered by Google App Engine
This is Rietveld 408576698