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
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
..
controllers Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
account-import-strategies.spec.js fix warning for unit tests 2018-07-02 20:12:50 -04:00
buy-eth-url.spec.js Return after rejecting promise in action (#7079) 2019-08-31 13:34:27 -03:00
cleanErrorStack.spec.js Some Ui tests 2018-09-24 11:28:04 -05:00
ComposableObservableStore.js Moved loose some loose test files to sub folders 2018-05-21 05:59:26 -07:00
edge-encryptor-test.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
fetch-with-timeout.test.js Combine fetch-with-timeout implementations (#7084) 2019-09-04 17:00:11 -03:00
message-manager-test.js Moved loose some loose test files to sub folders 2018-05-21 05:59:26 -07:00
nodeify-test.js lint fix 2019-03-29 12:51:54 +08:00
pending-balance-test.js fix warning for unit tests 2018-07-02 20:12:50 -04:00
personal-message-manager-test.js Moved loose some loose test files to sub folders 2018-05-21 05:59:26 -07:00
seed-phrase-verifier-test.js fix warning for unit tests 2018-07-02 20:12:50 -04:00
typed-message-manager.spec.js MM controller additions, balance controller, typedMessageManager, and addtional actions tests 2019-10-21 12:47:36 -07:00
util-test.js Fix phishing detect script (#7287) 2019-10-18 13:35:32 -02:30