Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
set value(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'value' property on 'HTMLProgressElement': The provided value"
});
this[impl]["value"] = V;
}
set(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided value"
});
this[impl]["playbackRate"] = V;
},
set currentTime(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided value"
});
this[impl]["currentTime"] = V;
}
set(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'volume' property on 'HTMLMediaElement': The provided value"
});
this[impl]["volume"] = V;
},
set(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'defaultPlaybackRate' property on 'HTMLMediaElement': The provided value"
});
this[impl]["defaultPlaybackRate"] = V;
},
set(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'min' property on 'HTMLMeterElement': The provided value"
});
this[impl]["min"] = V;
},
set(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'low' property on 'HTMLMeterElement': The provided value"
});
this[impl]["low"] = V;
},
set(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided value"
});
this[impl]["currentTime"] = V;
},
set(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'high' property on 'HTMLMeterElement': The provided value"
});
this[impl]["high"] = V;
},
set max(V) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
V = conversions["double"](V, {
context: "Failed to set the 'max' property on 'HTMLProgressElement': The provided value"
});
this[impl]["max"] = V;
}