blob: fe5ac21ce4812136e234b02342eb848791236577 [file] [log] [blame]
Test that "no preloading restriction" disables preloading in spite of preload='auto'.
** setting video.src
EXPECTED (video.preload == 'auto') OK
RUN(internals.setMediaElementRestrictions(video, 'MetadataPreloadingNotPermitted'))
** Pausing...
** 250ms timer fired
EXPECTED (video.readyState == '0') OK
EXPECTED (video.buffered.length == '0') OK
RUN(video.load())
EVENT(loadedmetadata)
END OF TEST