Changeset 86506 in webkit
- Timestamp:
- May 15, 2011 9:18:03 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86505 r86506 1 2011-05-15 Eric Carlson <eric.carlson@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Use new AVAssetReferenceRestrictions to prevent cross site media references 6 https://bugs.webkit.org/show_bug.cgi?id=60791 7 <rdar://problem/9374202> 8 9 Add test for cross-domain QuickTime reference movie and test. 10 11 * http/tests/media/resources/cross-site-reference.mov: Added. 12 * http/tests/media/video-cross-site-expected.txt: Added. 13 * http/tests/media/video-cross-site.html: Added. 14 * platform/chromium/test_expectations.txt: Skipped, QuickTime reference movies not supported. 15 * platform/gtk/Skipped: Ditto. 16 1 17 2011-05-15 Sheriff Bot <webkit.review.bot@gmail.com> 2 18 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r86496 r86506 488 488 // Doesn't apply to Chromium (QuickTime-specific behavior) 489 489 WONTFIX SKIP : media/video-does-not-loop.html = TIMEOUT 490 491 // QuickTime reference movies not supported. 492 WONTFIX SKIP : http/tests/media/video-cross-site.html = PASS FAIL TIMEOUT 490 493 491 494 // Pre-HTML5 parser quirks only apply to the mac port for now. -
trunk/LayoutTests/platform/gtk/Skipped
r86487 r86506 528 528 http/tests/media/video-play-stall.html 529 529 http/tests/media/video-seekable-stall.html 530 531 # QuickTime reference movie not supported. 532 http/tests/media/video-cross-site.html 533 530 534 http/tests/misc/acid3.html 531 535 http/tests/misc/link-rel-prefetch-and-subresource.html -
trunk/Source/WebCore/ChangeLog
r86503 r86506 1 2011-05-15 Eric Carlson <eric.carlson@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Use new AVAssetReferenceRestrictions to prevent cross site media references 6 https://bugs.webkit.org/show_bug.cgi?id=60791 7 <rdar://problem/9374202> 8 9 Test: http/tests/media/video-cross-site.html 10 11 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm: 12 (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Set restriction 13 to prevent cross-domain references from being followed. 14 1 15 2011-05-15 Arno Renevier <arno@renevier.net> 2 16 -
trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm
r86501 r86506 68 68 SOFT_LINK_POINTER(AVFoundation, AVPlayerItemDidPlayToEndTimeNotification, NSString *) 69 69 SOFT_LINK_POINTER(AVFoundation, AVAssetImageGeneratorApertureModeCleanAperture, NSString *) 70 SOFT_LINK_POINTER(AVFoundation, AVURLAssetReferenceRestrictionsKey, NSString *) 70 71 71 72 SOFT_LINK_CONSTANT(CoreMedia, kCMTimeZero, CMTime) … … 84 85 #define AVPlayerItemDidPlayToEndTimeNotification getAVPlayerItemDidPlayToEndTimeNotification() 85 86 #define AVAssetImageGeneratorApertureModeCleanAperture getAVAssetImageGeneratorApertureModeCleanAperture() 87 #define AVURLAssetReferenceRestrictionsKey getAVURLAssetReferenceRestrictionsKey() 86 88 87 89 #define kCMTimeZero getkCMTimeZero() … … 254 256 setDelayCallbacks(true); 255 257 258 NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys: 259 [NSNumber numberWithInt:AVAssetReferenceRestrictionForbidCrossSiteReference], AVURLAssetReferenceRestrictionsKey, 260 nil]; 256 261 NSURL *cocoaURL = KURL(ParsedURLString, url); 257 m_avAsset.adoptNS([[AVURLAsset alloc] initWithURL:cocoaURL options:nil]); 262 m_avAsset.adoptNS([[AVURLAsset alloc] initWithURL:cocoaURL options:options]); 263 258 264 m_haveCheckedPlayability = false; 259 265
Note: See TracChangeset
for help on using the changeset viewer.