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

Do not allow screenshot upload outside of the "Upload screenshot" area margins #3734

Open
softvision-raul-bucata opened this issue Oct 5, 2022 · 0 comments

Comments

@softvision-raul-bucata
Copy link
Collaborator

softvision-raul-bucata commented Oct 5, 2022

URL: https://webcompat.com/issues

Environment:
Operating system: Windows 10
Firefox version: Nightly 107.0a1 (2022-10-04) (64-bit)

Steps to reproduce:

  1. Go to https://webcompat.com/issues
  2. Complete the form submission until the "Upload Screenshot" area is shown.
  3. Drag and drop the screenshot file outside the "Upload Screenshot" area.
  4. Observe the result.

Expected Behavior:
The file can not be uploaded/a forbidden icon is shown.

Actual Behavior:
The file is opened in a new tab, with file: URL.

Notes:

  1. Screenrecording provided:

rec

  1. Reproducible on Chrome as well
  2. Upload inside the designated area works as expeted.

Watchers:
@softvision-oana-arbuzov
@softvision-raul-bucata
@ClintNase

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

2 participants