Remove custom RSA-AES event

We shouldn't add extra, undocumented, API just for the tests. They need
to figure out less invasive way to probe things.
This commit is contained in:
Pierre Ossman
2023-05-16 19:38:33 +02:00
parent 458405e05d
commit afbb1da4d5
2 changed files with 14 additions and 5 deletions

View File

@@ -1864,7 +1864,6 @@ export default class RFB extends EventTargetMixin {
}
})
.then(() => {
this.dispatchEvent(new CustomEvent('securityresult'));
this._rfbInitState = "SecurityResult";
return true;
}).finally(() => {