youtube / js_mse_eme

js_mse_eme is an externally-published tool that is aimed to test the validity of a browser's HTML5 Media Source Extension and Encrypted Media Extension implementations
Apache License 2.0
91 stars 58 forks source link

Abnormal behavior in 2016 EME Conformance tests #19

Closed gihwankim closed 8 years ago

gihwankim commented 8 years ago

(v 20161104093450 ) Hi, I tested EME for youtube certificate, but there are abnormal behavior. When I press Enter something, but RunAll has started always . maybe there are some bugs in 11/4 version. So , I want to test only that failed but I can't.

Even MSE test is same .

please revise this issue.

thanks.

seoz commented 8 years ago

Thanks for the report.

Thom, it looks live js/harness/compactTestView.js is different from that of github's one. Live compactTestView.js has 'keydown' event listener and it caused this problem. Please remove it.

document.addEventListener('keydown', function(e) {
  if (e.keyCode == 0x0D) {
    if (self.onrunselected) {
      self.onrunselected.call(self, e);
    }
  }
});
tdedecko commented 8 years ago

Thanks for the report. The change has been reverted.