9 lines
368 B
Plaintext
9 lines
368 B
Plaintext
Tests that clearing the InvisibleAutoplayNotPermitted restriction then destroying the RenderVideo after a style recalc does not cause a crash.
|
|
RUN(internals.setMediaElementRestrictions(video, "InvisibleAutoplayNotPermitted"))
|
|
EVENT(canplaythrough)
|
|
RUN(runWithKeyDown(function() { video.play() }))
|
|
RUN(video.style.display = "none")
|
|
RUN(video.clientHeight)
|
|
END OF TEST
|
|
|