-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangs in FF. running window.close() won't finish process #121
Comments
Do you have a suggestion how to fix this? |
I hoped for "oh it's ajust a minor regression" But there might be a command line switch that would disable the security restriction on window.close |
@juliangruber I have two fixes for this.
I can PR both solutions, but I'd rather know which will get accepted before I do ;) For both solutions I didn't check if |
Ah, so you're using this through tape-run? |
I'm piping browserify output (or webpack in other repo) to browser-run and then to tap-spec What I'm hoping to get here is if this is the popular way browser-run is used for testing or not. |
I guess we can just add another timeout that will kill the browser child_process if window.close() fails |
One more idea - if browser-run prints pid of the browser in the first line, an external tool could easily kill the browser based on the output. |
Hi - I use tape and browser-run. (I like to use the minimum amount of framework when possible). I would love to see a --close-after-tap (or similar) that shuts down the browser based on tap tests finishing as well. |
I could implement that, but it seems like something more generic would be nice... I'll probably have to figure it out some time this month anyway :) |
Sounds good. look forward to it! |
@mvoss9000 @juliangruber I see following options to move it forward:
|
FF just says
and wouldn't close.
Env:
linux with FF 49.0
Also noticed a tab with sessionrestore whenever I browser-run FF more than once.
The text was updated successfully, but these errors were encountered: