You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUGFIX lts] Prevent <base target="_parent"> from erroring in HistoryLocation
It is perfectly valid to have a `<base>` element without an `href`
attribute but the code previously assumed that if a `<base>` was present
that it **must** contain an `href`.
Specifically, prior to this change if you had a `<base>` like:
```html
<base target="_parent">
```
You would get the following error:
```
Uncaught TypeError: Cannot read property 'replace' of null
```
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base for
more details on usage of `<base>` without an `href`.
(cherry picked from commit 46b7aad)
0 commit comments