Skip to content
  • eric.carlson@apple.com's avatar
    2009-03-23 Eric Carlson <eric.carlson@apple.com> · 72a6d933
    eric.carlson@apple.com authored
            Reviewed by Adele Peterson.
    
            https://bugs.webkit.org/show_bug.cgi?id=24588
            
            Update media element implementation to current HTML5 spec
    
            New tests: 
                   media/media-constants.html
                   media/video-seek-no-src-exception.html
                   media/video-source-add-src.html
                   media/video-src-invalid-remove.html
                   media/video-src-plus-source.html
                   media/video-timeupdate-during-playback.html
    
            * dom/EventNames.h: Remove obsolute events, add new ones.
            * html/HTMLMediaElement.cpp:
            (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize new member vars.
            (WebCore::HTMLMediaElement::attributeChanged): Trigger load() only when we don't
            have a source.
            (WebCore::HTMLMediaElement::removedFromDocument): Deal with state name changes.
            (WebCore::HTMLMediaElement::scheduleProgressEvent): New, create a progress event and 
    ...
    72a6d933