2011-05-15 Eric Carlson <eric.carlson@apple.com>
authorEric Carlson <eric.carlson@apple.com>
Sun, 15 May 2011 16:18:03 +0000 (16:18 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 3 Jun 2011 20:37:38 +0000 (17:37 -0300)
commita4f15203298f53d6b3d35ab034e369150578ba2e
treec41f4f890a48d4e7569076eea1f9d80d2d126ae1
parentf0a236c2d8365455b168b85b3b25219355ea3c28
2011-05-15  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Maciej Stachowiak.

        Use new AVAssetReferenceRestrictions to prevent cross site media references
        https://bugs.webkit.org/show_bug.cgi?id=60791
        <rdar://problem/9374202>

        Test: http/tests/media/video-cross-site.html

        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Set restriction
            to prevent cross-domain references from being followed.

2011-05-15  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Maciej Stachowiak.

        Use new AVAssetReferenceRestrictions to prevent cross site media references
        https://bugs.webkit.org/show_bug.cgi?id=60791
        <rdar://problem/9374202>

        Add test for cross-domain QuickTime reference movie and test.

        * http/tests/media/resources/cross-site-reference.mov: Added.
        * http/tests/media/video-cross-site-expected.txt: Added.
        * http/tests/media/video-cross-site.html: Added.
        * platform/chromium/test_expectations.txt: Skipped, QuickTime reference movies not supported.
        * platform/gtk/Skipped: Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/media/resources/cross-site-reference.mov [new file with mode: 0644]
LayoutTests/http/tests/media/video-cross-site-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/media/video-cross-site.html [new file with mode: 0644]
LayoutTests/platform/chromium/test_expectations.txt
LayoutTests/platform/gtk/Skipped
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm