mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
a294ca7125
The `activeTab` state is now set to an empty object if the `origin` of the active tab is missing or invalid. It can be invalid if the URL passed to the `URL` constructor is missing a scheme (e.g. `about: blank`). There are currently no cases where the rest of the data in `activeTab` is useful in the absence of an `origin`. This will make upcoming UI logic changes a bit simpler than they would be otherwise. Now we can assume that if any property is set on `activeTab`, it must have a valid `origin`. |
||
---|---|---|
.. | ||
_locales | ||
fonts | ||
images | ||
manifest | ||
scripts | ||
vendor/trezor | ||
home.html | ||
loading.html | ||
notification.html | ||
phishing.html | ||
popup.html | ||
trezor-usb-permissions.html | ||
unsupport.html |