1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/helpers/utils
Whymarrh Whitby 3244449ab9
Use activeTab.origin where possible (#8617)
This changeset updates the `getOriginOfCurrentTab` selector and the container
for the ConnectedSites page to use `activeTab.origin` instead of parsing the
URL. The `activeTab` URL is parsed in `queryCurrentActiveTab` before the UI is
launched and any subsequent parsing of the URL is unnecessary.

See `queryCurrentActiveTab` in `ui.js:86` [1].

  [1]:e7bb0876f5/app/scripts/ui.js (L86-L118)
2020-05-18 20:04:51 -02:30
..
common.util.js
common.util.test.js
confirm-tx.util.js Reorganize selectors directory (#8497) 2020-05-02 12:41:17 -07:00
confirm-tx.util.test.js
conversion-util.js
conversion-util.test.js
conversions.util.js
fetch-with-cache.js
fetch-with-cache.test.js
formatters.js
gas-time-estimates.util.js
i18n-helper.js
i18n-helper.test.js
metametrics.util.js Fix Matomo dimension IDs (#8579) 2020-05-13 10:12:07 -03:00
switch-direction.js
token-util.js
transactions.util.js fix: handle trailing / in block explorer URLs 2020-05-14 17:15:17 +08:00
transactions.util.test.js fix: handle trailing / in block explorer URLs 2020-05-14 17:15:17 +08:00
util.js Use activeTab.origin where possible (#8617) 2020-05-18 20:04:51 -02:30
util.test.js