• Robert Knight's avatar
    Fix decoding of the query section in "#annotations" fragments. · d0e4adac
    Robert Knight authored
    Use `decodeURIComponent` instead of `decodeURI` because
    `decodeURIComponent` decodes reserved characters (eg. ":", "/") whereas
    `decodeURI` does not.
    
    Avoid stubbing decodeURIComponent() in the tests and instead just use a
    malformed escape sequence which triggers an actual URIError when
    decoding.
    d0e4adac
Name
Last commit
Last update
..
config-func-settings-from-test.js Loading commit data...
index-test.js Loading commit data...
is-browser-extension-test.js Loading commit data...
settings-test.js Loading commit data...