-
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 | ||
boot | ||
images/icons | ||
shared | ||
sidebar | ||
styles | ||
test-util | ||
types | ||
.eslintrc | ||
karma.config.js | ||
tsconfig.json |