1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test
Thomas Huang a88a087b60 Fix site metadata JSON-RPC handler (#10243)
* Fix getting the site metadata from the request origin params.

Regressed from inpage-provider ts migration the request. The property domainMetadata is now set as a params key for the request.

https://github.com/MetaMask/inpage-provider/blob/v7.0.0/src/siteMetadata.js#L19-L25
vs
https://github.com/MetaMask/inpage-provider/blob/main/src/siteMetadata.ts#L19-L27

* Change hardcoded mocked response of the request to the prod response.
2021-01-22 15:11:09 -03:30
..
data
e2e Use .zip for Firefox e2e tests (#10056) 2020-12-11 12:54:17 -03:30
lib Add timeout to wait-until-called (#9996) 2020-12-04 13:47:57 -03:30
stub
unit Fix site metadata JSON-RPC handler (#10243) 2021-01-22 15:11:09 -03:30
unit-global
env.js
helper.js Migration to remove legacy local storage keys from localStorage (#9986) 2020-12-03 20:25:23 -03:30
setup.js