mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-04 19:39:39 +00:00
Isolate DOM references in load() and connect().
- Other misc cleanups.
This commit is contained in:
@@ -131,7 +131,8 @@ decode: function (data, offset) {
|
||||
|
||||
// If there are any bits left, the base64 string was corrupted
|
||||
if (leftbits)
|
||||
throw Components.Exception('Corrupted base64 string');
|
||||
throw {name: 'Base64-Error',
|
||||
message: 'Corrupted base64 string'};
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -233,7 +233,6 @@ DES = {
|
||||
|
||||
DES.deskey(key, true, DES.encryptKeys);
|
||||
DES.deskey(key, false, DES.decryptKeys);
|
||||
console.log("DES.encryptKeys: " + DES.encryptKeys);
|
||||
},
|
||||
|
||||
// Turn an 8-byte key into internal keys.
|
||||
|
||||
Reference in New Issue
Block a user