refactor service worker to handle blobs properly

This commit is contained in:
velzie 2024-10-12 10:58:15 -04:00
parent 23b2ba9928
commit 4dfa47a2bf
6 changed files with 99 additions and 112 deletions

View file

@ -154,7 +154,6 @@ export default function (client: ScramjetClient, self: Self) {
key.startsWith("on") &&
handlers[key.slice(2)]
) {
console.log(key);
const descriptor = nativeGetOwnPropertyDescriptor(target, key);
if (!descriptor.get || !descriptor.set || !descriptor.configurable)
continue;