blob: 41e9669fb8bd298179ceedab2c7af4b3bb0931dd [file] [log] [blame]
RUN(internals.settings.setAllowedMediaContainerTypes(null))
EXPECTED (MediaSource.isTypeSupported("video/mp4") == 'true') OK
RUN(internals.settings.setAllowedMediaContainerTypes("video/mp4"))
EXPECTED (MediaSource.isTypeSupported("video/mp4") == 'true') OK
RUN(internals.settings.setAllowedMediaContainerTypes("video/webm"))
EXPECTED (MediaSource.isTypeSupported("video/mp4") == 'false') OK
END OF TEST