• Robert Knight's avatar
    Treat empty strings as unparsable instead of open page ranges · 76040e76
    Robert Knight authored
    Previously `pageLabelInRange` treated an empty label like a fully-open page
    range ("-"). Since a fully open range overlaps all other ranges, the function
    would always return true. Now it treats an empty string as an unparsable range
    and returns false.
    
    When filtering annotations, this change means that a page range filter will
    no longer match annotations without a page range.
    76040e76
Name
Last commit
Last update
..
collections-test.js Loading commit data...
copy-to-clipboard-test.js Loading commit data...
disable-opener-for-external-links-test.js Loading commit data...
dom-test.js Loading commit data...
fetch-test.js Loading commit data...
immutable-test.js Loading commit data...
memoize-test.js Loading commit data...
oauth-client-test.js Loading commit data...
observe-element-size-test.js Loading commit data...
page-range-test.js Loading commit data...
pagination-test.js Loading commit data...
postmessage-json-rpc-test.js Loading commit data...
retry-test.js Loading commit data...
sentry-test.js Loading commit data...
time-test.js Loading commit data...
unicode-test.js Loading commit data...
url-test.js Loading commit data...
watch-test.js Loading commit data...