mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
0f4c0286a4
* Improve `openNewPage` helper function The two delays were removed, and the window handle for the new page is now returned. This was made possible with the new `newWindow` function added in `v4.0.0-alpha.3` of `selenium-webdriver`. * Replace recursion with loops This should result in far more pleasant stack traces for any exceptions in these functions. It might also be faster. These functions seem easier to understand as loops as well. * Remove unused string parameter The `closeAllWindowHandlesExcept` function has been simplified by removing a branch that handles the case where the `exceptions` parameter given is a string. That parameter is never a string. |
||
---|---|---|
.. | ||
data | ||
e2e | ||
integration | ||
lib | ||
stub | ||
unit | ||
unit-global | ||
web3 | ||
base.conf.js | ||
flat.conf.js | ||
helper.js | ||
setup.js |