• 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
..
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...
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...