blob: bee25fbec739179101fb884f34c2afcbe112d62b [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 == 'true') OK
END OF TEST