1 Test HTMLMediaElement and MediaError constants.
3 EXPECTED (HTMLMediaElement.NETWORK_EMPTY == '0') OK
4 EXPECTED (HTMLMediaElement.NETWORK_IDLE == '1') OK
5 EXPECTED (HTMLMediaElement.NETWORK_LOADING == '2') OK
6 EXPECTED (HTMLMediaElement.NETWORK_NO_SOURCE == '3') OK
8 EXPECTED (HTMLMediaElement.HAVE_NOTHING == '0') OK
9 EXPECTED (HTMLMediaElement.HAVE_METADATA == '1') OK
10 EXPECTED (HTMLMediaElement.HAVE_CURRENT_DATA == '2') OK
11 EXPECTED (HTMLMediaElement.HAVE_FUTURE_DATA == '3') OK
12 EXPECTED (HTMLMediaElement.HAVE_ENOUGH_DATA == '4') OK
14 EXPECTED (MediaError.MEDIA_ERR_ABORTED == '1') OK
15 EXPECTED (MediaError.MEDIA_ERR_NETWORK == '2') OK
16 EXPECTED (MediaError.MEDIA_ERR_DECODE == '3') OK
17 EXPECTED (MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED == '4') OK