blob: b25bae9ed7b10d7e5bfe8a852eda1ee6d3e8ce37 [file] [log] [blame]
This tests the events created by WebKitMediaKeys.
RUN(mediaKeys = new WebKitMediaKeys("com.webcore.mock"))
RUN(mediaKeySession = mediaKeys.createSession("video/mock", initData))
EVENT(webkitkeymessage)
RUN(mediaKeySession.update(invalidKey))
EVENT(webkitkeyerror)
RUN(mediaKeySession.update(validKey))
EVENT(webkitkeyadded)
END OF TEST