| <script src=../video-test.js></script> |
| <script type="text/javascript"> |
| testExpected("WebKitMediaKeyError.MEDIA_KEYERR_UNKNOWN", 1); |
| testExpected("WebKitMediaKeyError.MEDIA_KEYERR_CLIENT", 2); |
| testExpected("WebKitMediaKeyError.MEDIA_KEYERR_SERVICE", 3); |
| testExpected("WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT", 4); |
| testExpected("WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE", 5); |
| testExpected("WebKitMediaKeyError.MEDIA_KEYERR_DOMAIN", 6); |
| testExpected("MediaError.MEDIA_ERR_ENCRYPTED", 5); |
| <p>Test WebKitMediaKeyError constants and additional MediaError constant.</p> |