Calling video.controls=true during a scrub operation cancels scrub.
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Jan 2016 20:58:31 +0000 (20:58 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Jan 2016 20:58:31 +0000 (20:58 +0000)
commit326a03583816861b9a04b5f7699c5ddf701b9739
tree4f81dbe63324265125005d3e26a0b2845ceac676
parent554756767dcd746e9bf5955d7ae8ef5f77678728
Calling video.controls=true during a scrub operation cancels scrub.
https://bugs.webkit.org/show_bug.cgi?id=153494

Reviewed by Eric Carlson.

Source/WebCore:

Test: media/media-controls-drag-timeline-set-controls-property.html

Verify that the video.controls attribute actually changed before tearing down and
re-adding the media controls to the Shadow DOM.

* Modules/mediacontrols/mediaControlsApple.js:
(Controller.prototype.handleControlsChange):
(Controller.prototype.hasControls):

LayoutTests:

* media/media-controls-drag-timeline-set-controls-property-expected.txt: Added.
* media/media-controls-drag-timeline-set-controls-property.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@195610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/media-controls-drag-timeline-set-controls-property-expected.txt [new file with mode: 0644]
LayoutTests/media/media-controls-drag-timeline-set-controls-property.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediacontrols/mediaControlsApple.js