1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/unit/app/controllers
Mark Stacey 8dfb0e8154
Add hostname and extensionId to site metadata (#7218)
If the extension ID is set, an alternate title and subtitle are used
for the Connect Request screen. The title is always `External
Extension`, and the subtitle is `Extension ID: [id]` instead of the
origin (which would just be `[extension-scheme]://[id]` anyway).

The hostname for the site is used as a fallback in case it has no
title.

The artificial hostname set for internal connections has been renamed
from 'MetaMask' to 'metamask' because URL objects automatically
normalize hostnames to be all lower-case, and it was more convenient to
use a URL object so that the parameter would be the same type as used
for an untrusted connection.
2019-10-29 13:14:41 -03:00
..
transactions Ensure correct tx category when sending to contracts without tx data (#7252) 2019-10-08 04:29:37 +09:00
balance-controller.spec.js MM controller additions, balance controller, typedMessageManager, and addtional actions tests 2019-10-21 12:47:36 -07:00
cached-balances-test.js Save recent network balances in local storage (#5843) 2018-11-30 14:51:24 -08:00
detect-tokens-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
incoming-transactions-test.js add goerli to incoming tx 2019-09-18 10:04:39 -07:00
infura-controller-test.js feature: add Goerli support (#6459) 2019-04-17 15:04:49 -02:30
metamask-controller-test.js Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
network-contoller-test.js feature: add Goerli support (#6459) 2019-04-17 15:04:49 -02:30
preferences-controller-test.js Remove seedWords completely from metamask state (#6920) 2019-07-26 10:35:21 -03:00
provider-approval-test.js Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
token-rates-controller.js Update Balanc3 API (#5744) 2018-11-13 14:57:43 -05:00