1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Mark Stacey a294ca7125
Set empty active tab if origin is invalid (#8890)
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`.
2020-07-02 18:01:04 -03:00
..
account-import-strategies Clean up "JSON File" import strategy test output (#7855) 2020-01-17 19:59:47 -03:30
controllers Account for a custom nonce of zero (#8883) 2020-07-02 12:58:12 -07:00
lib Update inpage provider, deprecation warnings (#8854) 2020-06-24 15:21:57 -07:00
migrations Delete the ABTestController and its state (#8620) 2020-05-19 13:27:06 -02:30
platforms Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
background.js Stop reporting failed transactions to Sentry (#8795) 2020-06-12 16:41:57 -03:00
chromereload.js
contentscript.js blocklisted -> blocked 2020-06-08 17:57:59 -07:00
first-time-state.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
inpage.js Define global web3 as non-enumerable (#8634) 2020-05-20 20:18:25 -07:00
metamask-controller.js feature/sync imported accounts with mobile (#8631) 2020-06-25 22:04:17 -03:00
phishing-detect.js blacklist -> blocklist; whitelist -> safelist 2020-06-08 17:49:36 -07:00
ui.js Set empty active tab if origin is invalid (#8890) 2020-07-02 18:01:04 -03:00