mozilla / webextension-polyfill

A lightweight polyfill library for Promise-based WebExtension APIs in Chrome
Mozilla Public License 2.0
2.62k stars 212 forks source link

Stray chromedriver processes after running scripts/run-module-bundlers-smoketests.js #146

Open Rob--W opened 6 years ago

Rob--W commented 6 years ago

Tested on Linux using 4712d9274d231edba78e6da980e6eda0431e9ac4 STR:

  1. cd test/ && run-browsers-smoketests.sh
  2. Look at the process list, e.g. pgrep chromedriver or ps | grep chromedriver

Expected: No stray chromedriver processes. Actual: After each run, there are four additional stray chromedriver processes that haven't been killed:

/path/to/webextension-polyfill/node_modules/chromedriver/lib/chromedriver/chromedriver --port=[random port here]
Rob--W commented 5 years ago

The .sh script was replaced with a JS script in #167 , but the issue is still present.