mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 11:53:23 +01:00
Add human readable version of errors
This commit is contained in:
@@ -23,7 +23,7 @@ window.crypto.subtle = (function() {
|
||||
var StaticArrayBufferProto = new ArrayBuffer().__proto__;
|
||||
function assertIsArrayBuffer(thing) {
|
||||
if (thing !== Object(thing) || thing.__proto__ != StaticArrayBufferProto)
|
||||
throw new Error("WARNING: Needed a ArrayBuffer");
|
||||
throw new Error("Needed a ArrayBuffer");
|
||||
}
|
||||
|
||||
// private implementation functions
|
||||
|
||||
Reference in New Issue
Block a user