Change-Id: Id0d5fc0cdf8d52be6514a5eec4a8903927f1229d
test(function () {
if (is_caps_supported_by_system_info("http://tizen.org/feature/network.bluetooth.audio.media") === false) {
assert_throws({
- name: "NotSupportedError"
+ name: "TypeError"
}, function () {
tizen.mediakey.unsetMediaKeyEventListener();
});
test(function () {
if (is_caps_supported_by_system_info("http://tizen.org/feature/network.bluetooth.audio.media") === false) {
assert_throws({
- name: "NotSupportedError"
+ name: "TypeError"
}, function () {
tizen.mediakey.unsetMediaKeyEventListener();
});
test(function () {
if (is_caps_supported_by_system_info("http://tizen.org/feature/network.bluetooth.audio.media") === false) {
assert_throws({
- name: "NotSupportedError"
+ name: "TypeError"
}, function () {
- tizen.mediakey.setMediaKeyEventListener(function(){});
+ tizen.mediakey.unsetMediaKeyEventListener();
});
}
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>