Changeset 119978 in webkit
- Timestamp:
- Jun 11, 2012, 7:33:03 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r119976 r119978 1 2012-06-11 Dan Bernstein <mitz@apple.com> 2 3 Reverted r119940 because it caused multiple media tests to fail on Lion. 4 5 * http/tests/media/video-src-invalid-error-expected.txt: Removed. 6 * http/tests/media/video-src-invalid-error.html: Removed. 7 1 8 2012-06-11 János Badics <jbadics@inf.u-szeged.hu> 2 9 -
trunk/Source/WebCore/ChangeLog
r119977 r119978 1 2012-06-11 Dan Bernstein <mitz@apple.com> 2 3 Reverted r119940 because it caused multiple media tests to fail on Lion. 4 5 * html/HTMLMediaElement.cpp: 6 (WebCore::HTMLMediaElement::prepareForLoad): 7 (WebCore): 8 (WebCore::HTMLMediaElement::userCancelledLoad): 9 * html/HTMLMediaElement.h: 10 (HTMLMediaElement): 11 * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: 12 (WebCore::MediaPlayerPrivateQTKit::commonMovieAttributes): 13 1 14 2012-06-11 Zoltan Horvath <zoltan@webkit.org> 2 15 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r119940 r119978 666 666 // Perform the cleanup required for the resource load algorithm to run. 667 667 stopPeriodicTimers(); 668 stopLoadTimer(MediaResource);668 m_loadTimer.stop(); 669 669 m_sentEndEvent = false; 670 670 m_sentStalledEvent = false; … … 3716 3716 } 3717 3717 3718 void HTMLMediaElement::stopLoadTimer(PendingLoadFlags flags)3719 {3720 m_pendingLoadFlags &= ~flags;3721 3722 if (!m_pendingLoadFlags)3723 m_loadTimer.stop();3724 }3725 3726 3718 void HTMLMediaElement::userCancelledLoad() 3727 3719 { … … 3738 3730 #endif 3739 3731 stopPeriodicTimers(); 3740 stopLoadTimer(MediaResource | TextTrackResource);3732 m_loadTimer.stop(); 3741 3733 m_loadState = WaitingForSource; 3734 m_pendingLoadFlags = 0; 3742 3735 3743 3736 // 2 - Set the error attribute to a new MediaError object whose code attribute is set to MEDIA_ERR_ABORTED. -
trunk/Source/WebCore/html/HTMLMediaElement.h
r119940 r119978 440 440 void stopPeriodicTimers(); 441 441 442 typedef unsigned PendingLoadFlags;443 void stopLoadTimer(PendingLoadFlags);444 445 442 void seek(float time, ExceptionCode&); 446 443 void finishSeek(); … … 604 601 double m_fragmentEndTime; 605 602 603 typedef unsigned PendingLoadFlags; 606 604 PendingLoadFlags m_pendingLoadFlags; 607 605 -
trunk/Source/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
r119940 r119978 98 98 SOFT_LINK_POINTER(QTKit, QTMovieApertureModeAttribute, NSString *) 99 99 100 SOFT_LINK_POINTER_OPTIONAL(QTKit, QTMovieOpenAsyncRequiredAttribute, NSString *)101 100 SOFT_LINK_POINTER_OPTIONAL(QTKit, QTSecurityPolicyNoLocalToRemoteSiteAttribute, NSString *) 102 101 SOFT_LINK_POINTER_OPTIONAL(QTKit, QTSecurityPolicyNoRemoteToLocalSiteAttribute, NSString *) … … 124 123 #define QTMovieLoadStateDidChangeNotification getQTMovieLoadStateDidChangeNotification() 125 124 #define QTMovieNaturalSizeAttribute getQTMovieNaturalSizeAttribute() 126 #define QTMovieOpenAsyncRequiredAttribute getQTMovieOpenAsyncRequiredAttribute()127 125 #define QTMovieCurrentSizeAttribute getQTMovieCurrentSizeAttribute() 128 126 #define QTMoviePreventExternalURLLinksAttribute getQTMoviePreventExternalURLLinksAttribute() … … 256 254 } else 257 255 [movieAttributes setValue:[NSNumber numberWithBool:YES] forKey:QTSecurityPolicyNoCrossSiteAttribute]; 258 259 if (QTMovieOpenAsyncRequiredAttribute)260 [movieAttributes setValue:[NSNumber numberWithBool:YES] forKey:QTMovieOpenAsyncRequiredAttribute];261 256 262 257 if (m_preload < MediaPlayer::Auto)
Note:
See TracChangeset
for help on using the changeset viewer.