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

Issue 216022: Allow <audio> to work in extension (Closed)

Created:
11 years, 3 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Allow <audio> to work in extension BUG=22152 TEST=use <audio> extension with relative paths We used to exclude file:// for checks for valid HTTP response but since chrome extension resources use chrome-extension:// as scheme response from such scheme require valid HTTP response. This change changes the logic to limit the check for valid HTTP response only for http:// and https:// schemes. This impose a strong assumption that file://, ftp:// and new protocols need to know how to handle range requests or at least know how to fail. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26746

Patch Set 1 #

Patch Set 2 : added back the white list #

Total comments: 8

Patch Set 3 : ix #

Total comments: 4

Patch Set 4 : t #

Patch Set 5 : omments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -6 lines) Patch
M chrome/renderer/renderer_glue.cc View 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M webkit/glue/media/buffered_data_source.cc View 1 2 3 4 4 chunks +21 lines, -5 lines 0 comments Download
M webkit/glue/webkit_glue.h View 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Alpha Left Google
11 years, 3 months ago (2009-09-18 08:10:41 UTC) #1
Alpha Left Google
bug for ftp:// filed as http://crbug.com/22231
11 years, 3 months ago (2009-09-18 08:11:26 UTC) #2
Alpha Left Google
11 years, 3 months ago (2009-09-18 18:30:03 UTC) #3
awong
Still have some concerns. http://codereview.chromium.org/216022/diff/3001/4001 File chrome/renderer/renderer_glue.cc (right): http://codereview.chromium.org/216022/diff/3001/4001#newcode216 Line 216: if (url.SchemeIsFile() || url.SchemeIs("http") ...
11 years, 3 months ago (2009-09-18 19:13:58 UTC) #4
Alpha Left Google
http://codereview.chromium.org/216022/diff/3001/4001 File chrome/renderer/renderer_glue.cc (right): http://codereview.chromium.org/216022/diff/3001/4001#newcode216 Line 216: if (url.SchemeIsFile() || url.SchemeIs("http") || url.SchemeIs("https") || On ...
11 years, 3 months ago (2009-09-18 22:14:33 UTC) #5
scherkus (not reviewing)
http://codereview.chromium.org/216022/diff/3006/4006 File chrome/renderer/renderer_glue.cc (right): http://codereview.chromium.org/216022/diff/3006/4006#newcode1 Line 1: // Copyright (c) 2006-2008 The Chromium Authors. All ...
11 years, 3 months ago (2009-09-18 22:23:17 UTC) #6
Alpha Left Google
http://codereview.chromium.org/216022/diff/3006/4008 File webkit/glue/webkit_glue.h (right): http://codereview.chromium.org/216022/diff/3006/4008#newcode202 Line 202: bool IsProtocolSupportedForMedia(const GURL& url); On 2009/09/18 22:23:17, scherkus ...
11 years, 3 months ago (2009-09-18 22:56:10 UTC) #7
scherkus (not reviewing)
11 years, 3 months ago (2009-09-19 00:58:25 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698