Skip to content
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

<input type="file" /> crashes when click it second time. #6968

Closed
thehovercam opened this issue Feb 11, 2019 · 1 comment
Closed

<input type="file" /> crashes when click it second time. #6968

thehovercam opened this issue Feb 11, 2019 · 1 comment
Assignees

Comments

@thehovercam
Copy link

Windows 10,
nwjs version: 0.36.0.

I have a simple page to have a Open file dialog. It's working good when you first click "Choose File", but if you click it second time after you selected a file, whole application crashes.

To reproduce:

  1. serve the following simple html page
  2. Click "choose file", select one file and click 'open'
  3. Click "choose file", crash!
    image
<!doctype html>
<html lang="en">
<head>
</head>
<body>
    <input type="file" />
</body>
</html>
@ffanny
Copy link
Member

ffanny commented Feb 14, 2019

I can reproduce this with nwjs-sdk-win&linux-v0.36.0&v0.36.1.
And in the ubuntu terminal, error info is as follow:
ERROR:render_process_host_impl.cc(4723)] Terminating render process for bad Mojo message: Received bad user message: FileChooser: The default file name should not be an absolute path

ERROR:bad_message.cc(27)] Terminating renderer for bad IPC message, reason 123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants