• Robert Knight's avatar
    Support new PDF.js fingerprint API · aade0062
    Robert Knight authored
    In https://github.com/mozilla/pdf.js/pull/13661 the API for retrieving
    PDF fingerprints (aka. File Identifiers) changed. In generic builds of
    PDF.js the old API remains available, but not in the non-generic one
    that Firefox's built-in viewer uses.
    
    This commit makes Hypothesis use the new API if available or the old API
    otherwise. The fingerprint value should be the same in both cases.
    
    Fixes #3673
    aade0062
Name
Last commit
Last update
..
anchoring Loading commit data...
components Loading commit data...
config Loading commit data...
integrations Loading commit data...
test Loading commit data...
util Loading commit data...
.eslintrc.js Loading commit data...
adder.js Loading commit data...
annotation-counts.js Loading commit data...
annotation-sync.js Loading commit data...
bucket-bar.js Loading commit data...
cross-frame.js Loading commit data...
features.js Loading commit data...
frame-observer.js Loading commit data...
guest.js Loading commit data...
highlighter.js Loading commit data...
hypothesis-injector.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
notebook.js Loading commit data...
range-util.js Loading commit data...
selection-observer.js Loading commit data...
sidebar-trigger.js Loading commit data...
sidebar.js Loading commit data...
toolbar.js Loading commit data...