blob: 6ad126c454642da334872e646df3f5a7e9621cb6 [file] [log] [blame]
Test that removing a media element from the tree pauses playback but does not unload the media.
EVENT(canplaythrough)
EXPECTED (video.networkState != '0') OK
EXPECTED (video.paused == 'false') OK
RUN(document.body.removeChild(video))
EXPECTED (video.networkState != '0') OK
EXPECTED (video.paused == 'false') OK
EXPECTED (video.networkState != '0') OK
EXPECTED (video.paused == 'true') OK
END OF TEST