blob: 14d89cc6925e47da20b64707d768dd9979155878 [file] [log] [blame]
RUN(internals.setMediaElementRestrictions(mediaElement, "RequireUserGestureForVideoRateChange"))
RUN(mediaElement.src = findMediaFile("video", "content/test"))
RUN(mediaElement.play().then(failTest).catch(promiseRejected))
Promise rejected. OK
EXPECTED (error.name == 'NotAllowedError') OK
END OF TEST