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

Issue 485023003: Use range request for CORS access check on Android. (Closed)

Created:
6 years, 4 months ago by DaleCurtis
Modified:
5 years, 5 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, avayvod+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Use range request for CORS access check on Android. Avoids unnecessarily downloading data which will be unused. BUG=400788 TEST=none Committed: https://crrev.com/364fed76f11a1e81e89b7de0686723ec6ad8736d Cr-Commit-Position: refs/heads/master@{#291944}

Patch Set 1 #

Patch Set 2 : Use range request. #

Total comments: 4

Patch Set 3 : Comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M content/renderer/media/android/media_info_loader.cc View 1 2 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
DaleCurtis
I've been looking through this code recently, saw the bug, fix seems relatively easy... Haven't ...
6 years, 4 months ago (2014-08-22 23:00:40 UTC) #1
qinmin
lgtm. I don't have any better ways to test this either
6 years, 4 months ago (2014-08-23 00:30:20 UTC) #2
whywhat
On 2014/08/23 00:30:20, qinmin wrote: > lgtm. I don't have any better ways to test ...
6 years, 4 months ago (2014-08-23 12:44:26 UTC) #3
DaleCurtis
Yeah, the same thought occurred to me over the weekend. It looks like you resolved ...
6 years, 4 months ago (2014-08-25 17:22:03 UTC) #4
DaleCurtis
dalecurtis@chromium.org changed reviewers: + acolwell@chromium.org
6 years, 4 months ago (2014-08-25 19:35:59 UTC) #5
DaleCurtis
Switched to a range request. +acolwell to double check my usage here.
6 years, 4 months ago (2014-08-25 19:36:00 UTC) #6
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/485023003/diff/20001/content/renderer/media/android/media_info_loader.cc File content/renderer/media/android/media_info_loader.cc (right): https://codereview.chromium.org/485023003/diff/20001/content/renderer/media/android/media_info_loader.cc#newcode57 content/renderer/media/android/media_info_loader.cc:57: request.addHTTPHeaderField("Range", "bytes=0-1"); nit: This is a 2 byte range ...
6 years, 4 months ago (2014-08-25 19:40:08 UTC) #7
DaleCurtis
Thanks for review. https://codereview.chromium.org/485023003/diff/20001/content/renderer/media/android/media_info_loader.cc File content/renderer/media/android/media_info_loader.cc (right): https://codereview.chromium.org/485023003/diff/20001/content/renderer/media/android/media_info_loader.cc#newcode57 content/renderer/media/android/media_info_loader.cc:57: request.addHTTPHeaderField("Range", "bytes=0-1"); On 2014/08/25 19:40:08, acolwell ...
6 years, 4 months ago (2014-08-25 19:43:19 UTC) #8
acolwell GONE FROM CHROMIUM
lgtm
6 years, 4 months ago (2014-08-25 19:51:44 UTC) #9
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 4 months ago (2014-08-25 22:06:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/485023003/40001
6 years, 4 months ago (2014-08-25 22:07:25 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-26 00:28:18 UTC) #12
commit-bot: I haz the power
Failed to commit the patch.
6 years, 4 months ago (2014-08-26 00:28:20 UTC) #13
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 4 months ago (2014-08-26 01:02:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/485023003/40001
6 years, 4 months ago (2014-08-26 01:03:36 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-26 01:08:51 UTC) #16
commit-bot: I haz the power
Failed to commit the patch.
6 years, 4 months ago (2014-08-26 01:08:52 UTC) #17
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 3 months ago (2014-08-26 18:23:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/485023003/40001
6 years, 3 months ago (2014-08-26 18:25:29 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (40001) as 831c98e9650ed897908869ab46d399d5ac15337d
6 years, 3 months ago (2014-08-26 18:35:50 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:44:11 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/364fed76f11a1e81e89b7de0686723ec6ad8736d
Cr-Commit-Position: refs/heads/master@{#291944}

Powered by Google App Engine
This is Rietveld 408576698