1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
metamask-extension/test
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
..
data address book entries by chainId (#7205) 2019-09-21 14:36:05 -03:00
e2e Fix flaky e2e tests (#7307) 2019-10-23 14:00:16 -03:00
integration test:integration - fix renamed test data file 2019-09-11 00:13:21 +08:00
lib Check for unused function arguments (#6583) 2019-05-08 15:51:33 -04:00
stub Merge branch 'develop' into testing 2018-05-21 14:57:57 -07:00
unit Add hostname and extensionId to site metadata (#7218) 2019-10-29 13:14:41 -03:00
unit-global Freeze Promise global on boot (#7309) 2019-10-24 06:54:32 -07:00
web3 Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
base.conf.js eslint --fix . 2018-07-02 18:49:33 -04:00
flat.conf.js eslint --fix . 2018-07-02 18:49:33 -04:00
helper.js 4byte fallback (#6551) 2019-06-18 09:47:14 -02:30
setup.js 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30