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

Issue 6580014: Make playback fail if redirected to a different origin. (Closed)

Created:
9 years, 10 months ago by acolwell GONE FROM CHROMIUM
Modified:
9 years, 6 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., annacc, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM)
Visibility:
Public.

Description

Make playback fail if redirected to a different origin. Fixing spec compliance. http://dev.w3.org/html5/spec/Overview.html#concept-media-load-resource BUG=72578 TEST=BufferedResourceLoaderTest.HasSingleOrigin(), SimpleDataSourceTest.HasSingleOrigin() Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76064

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix spelling error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -35 lines) Patch
M webkit/glue/media/buffered_resource_loader.cc View 1 chunk +9 lines, -6 lines 0 comments Download
M webkit/glue/media/buffered_resource_loader_unittest.cc View 1 chunk +4 lines, -15 lines 0 comments Download
M webkit/glue/media/simple_data_source.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M webkit/glue/media/simple_data_source_unittest.cc View 1 1 chunk +4 lines, -14 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
acolwell GONE FROM CHROMIUM
Fixing spec compliance for redirects to other origins. http://dev.w3.org/html5/spec/Overview.html#concept-media-load-resource says to "fetch the current media ...
9 years, 10 months ago (2011-02-24 00:04:56 UTC) #1
scherkus (not reviewing)
LGTM w/ spelling nit few sanity check questions: - Can we have a layout test ...
9 years, 10 months ago (2011-02-25 01:40:54 UTC) #2
acolwell GONE FROM CHROMIUM
On 2011/02/25 01:40:54, scherkus wrote: > LGTM w/ spelling nit > > few sanity check ...
9 years, 10 months ago (2011-02-25 17:42:42 UTC) #3
acolwell GONE FROM CHROMIUM
Fixed nit http://codereview.chromium.org/6580014/diff/1/webkit/glue/media/simple_data_source_unittest.cc File webkit/glue/media/simple_data_source_unittest.cc (right): http://codereview.chromium.org/6580014/diff/1/webkit/glue/media/simple_data_source_unittest.cc#newcode262 webkit/glue/media/simple_data_source_unittest.cc:262: // Test redirct to the same domain ...
9 years, 10 months ago (2011-02-25 17:45:02 UTC) #4
scherkus (not reviewing)
9 years, 10 months ago (2011-02-25 18:57:57 UTC) #5
On 2011/02/25 17:42:42, acolwell wrote:
> On 2011/02/25 01:40:54, scherkus wrote:
> > LGTM w/ spelling nit
> > 
> > few sanity check questions:
> >   - Can we have a layout test test for this case?  Seems beneficial
> We'd have to be able to set up a web server that redirects to a different
> domain. Is that possible in the current layout test code?

Take a look at the xmlhttprequest tests, i.e,.
http://trac.webkit.org/browser/trunk/LayoutTests/http/tests/xmlhttprequest/ac...

What they do is redirect from localhost to 127.0.0.1 heh

Powered by Google App Engine
This is Rietveld 408576698