mirror of
https://github.com/ylw00/qxVm.git
synced 2025-04-23 07:14:23 +08:00
24 lines
867 B
JavaScript
24 lines
867 B
JavaScript
MediaCapabilities = function MediaCapabilities(createObj_key) {
|
|
if (createObj_key !== qxVm.memory.$createObj_key) {
|
|
throw new TypeError("Illegal constructor");
|
|
}
|
|
qxVm.memory.private_data.set(this, {})
|
|
}; qxVm.safefunction(MediaCapabilities);
|
|
|
|
; (function () {
|
|
const $safe_get_attribute = [];
|
|
const $safe_set_attribute = [];
|
|
const $safe_func_attribute = ['decodingInfo'];
|
|
|
|
MediaCapabilities.prototype = {
|
|
decodingInfo() {
|
|
debugger;
|
|
if (!MediaCapabilities.prototype.isPrototypeOf(this)) { throw new TypeError("Illegal constructor"); };
|
|
},
|
|
}
|
|
qxVm.rename(MediaCapabilities.prototype, "MediaCapabilities");
|
|
qxVm.safeDescriptor_addConstructor(MediaCapabilities);
|
|
qxVm.safe_Objattribute(MediaCapabilities, $safe_get_attribute, $safe_set_attribute, $safe_func_attribute);
|
|
|
|
})();
|