* test: asyncawaitify one of sandbox related tests (#15252)
(cherry picked from commit b3f134de06)
* test: backport "openTheWindow" function to "BrowserWindow module" specs
- Create a function that accepts BrowserWindow options and generates a suite
that contains the renderer-specific tests.
- Run the function twice to execute the tests with and without sandbox option.