Dragging a firefox tab into web UI produces fun experience #33
Labels
No Label
bug
feature
good-beginner-bug
needs-test
question
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: electricdusk/rushlink#33
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
How to reproduce:
error:
logs:
How do you drag a tab into another? I cannot seem to be able to reproduce that.
In any case, we likely just have to add a check here:
8dce4e8483/assets/js/dragdrop.js (L30-L35)
I guess that iff there is no file to be uploaded (but something else; say a tab) then
event.dataTransfer.files
will have a zero-value. We should also probably show an error.dragging a firefox tab into web UI produces fun experienceto Dragging a firefox tab into web UI produces fun experienceCan confirm, but only when I use another browser (like Chromium) for rushlink, and drag a Firefox tab to Chromium.
Ok. When I drag a Firefox tab into Chrome, Chrome requests for me:
with these headers:
So apparently Chrome does upload a correct form, although with an empty payload for the
file
field. So I guess that we should check whether the file field is empty, vs being absent.