In bug 130480 we added code to allow the media engine to start and stop playback when playing to an external device. Generalize that code because the media engine can start and stop playback in other situations as well.
Created attachment 230385 [details] Proposed patch.
Comment on attachment 230385 [details] Proposed patch. Attachment 230385 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5399326213799936 New failing tests: media/track/track-mode.html media/media-controller-playbackrate.html media/video-seek-past-end-playing.html
Created attachment 230390 [details] Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-15 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Comment on attachment 230385 [details] Proposed patch. Attachment 230385 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5757753851117568 New failing tests: media/video-loop.html media/track/track-mode.html media/media-controller-playbackrate.html media/video-played-collapse.html media/video-seek-past-end-playing.html
Created attachment 230392 [details] Archive of layout-test-results from webkit-ews-06 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-06 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Comment on attachment 230385 [details] Proposed patch. Attachment 230385 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6666003069009920 New failing tests: media/video-loop.html media/track/track-mode.html media/media-controller-playbackrate.html media/video-seek-past-end-playing.html
Created attachment 230400 [details] Archive of layout-test-results from webkit-ews-01 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-01 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Created attachment 230561 [details] Updated patch
Comment on attachment 230561 [details] Updated patch Attachment 230561 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4863443345604608 New failing tests: media/media-controller-playbackrate.html
Created attachment 230571 [details] Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-14 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Created attachment 230574 [details] Archive of layout-test-results from webkit-ews-07 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-07 Port: mac-mountainlion Platform: Mac OS X 10.8.5