mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 07:38:07 +02:00
Moves Uint32ArrayView and hasCanvasTypedArrays into compatibility.js.
This commit is contained in:
parent
74b31ab18f
commit
30bee9fe0c
7 changed files with 83 additions and 110 deletions
|
@ -53,7 +53,7 @@ describe('MurmurHash3_64', function() {
|
|||
});
|
||||
it('correctly generates a hash from a Uint32Array', function() {
|
||||
var hash = new MurmurHash3_64();
|
||||
hash.update(new Uint32Array(sourceCharCodes));
|
||||
hash.update(new Uint32Array(new Uint8Array(sourceCharCodes).buffer));
|
||||
expect(hash.hexdigest()).toEqual(hexDigestExpected);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue