electron/default_app
Samuel Attard b7b9efa875
fix: handle remote-debugging-port=0 correctly (#17800)
By default the Chromedriver will send remote-debugging-port=0 to let the
browser choose a free port to listen on.  The chosen port is written to
a known file in the user data dir that is passed to the app through the
CLI.

This PR does two things.

1. Correctly passes the USER_DATA_DIR to the remote debugging server so
it knows where to write the file
2. Adds support for --user-data-dir as we did not support that CLI
argument and Chromedriver relies on being able to tell the "browser"
where to write this file.

Fixes #17354
2019-04-16 14:22:51 -04:00
..
default_app.ts chore: fix default_app showMessageBox (#17357) 2019-03-12 14:10:18 -07:00
icon.png
index.html chore: increase security of default_app (#17318) 2019-03-11 16:13:46 -07:00
index.ts chore: increase security of default_app (#17318) 2019-03-11 16:13:46 -07:00
main.ts fix: handle remote-debugging-port=0 correctly (#17800) 2019-04-16 14:22:51 -04:00
package.json
preload.ts chore: increase security of default_app (#17318) 2019-03-11 16:13:46 -07:00
styles.css refactor: clean up the default app, add CSP (#13437) 2018-07-17 10:26:58 +10:00