• Robert Knight's avatar
    Always use current `document.baseURI` in `HTMLMetadata` · 4349ffff
    Robert Knight authored
    `HTMLMetadata` read `document.baseURI` only once in the constructor,
    risking issues to the cached value becoming stale. `document.baseURI` is
    available in all supported browsers and is easily mocked where needed in
    tests, so just always read the current value when needed.
    
    Also remove a `normalizeURI` test seam that was unused. If we did want
    to mock this in future we'd use the `$imports` object as we do in other
    tests.
    4349ffff
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...