WebCore:
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 May 2009 01:31:45 +0000 (01:31 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 May 2009 01:31:45 +0000 (01:31 +0000)
commit32eb04624fd382a6442602098e48c27fe6e4aa39
treec0afdf3b22cb462eb4edce16de612b5f8f6d014d
parentb6cff75567cedffd37f9435816c3cb876185e1c9
WebCore:

2009-05-07  Darin Adler  <darin@apple.com>

        Reviewed by Simon Fraser.

        Bug 25575: Registered mutation event listener crashes HTMLMediaElement
        https://bugs.webkit.org/show_bug.cgi?id=25575

        Test: fast/media/video-controls-with-mutation-event-handler.html

        * rendering/MediaControlElements.cpp:
        (WebCore::MediaControlTimelineElement::MediaControlTimelineElement): Don't call setAttribute.
        * rendering/RenderMedia.cpp:
        (WebCore::RenderMedia::createTimeline): Call setAttribute here.

LayoutTests:

2009-05-07  Darin Adler  <darin@apple.com>

        Reviewed by Simon Fraser.

        Bug 25575: Registered mutation event listener crashes HTMLMediaElement
        https://bugs.webkit.org/show_bug.cgi?id=25575

        * fast/media/video-controls-with-mutation-event-handler-expected.txt: Added.
        * fast/media/video-controls-with-mutation-event-handler.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@43381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/media/video-controls-with-mutation-event-handler-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/video-controls-with-mutation-event-handler.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/MediaControlElements.cpp
WebCore/rendering/RenderMedia.cpp