Open Bug 1327923 Opened 4 years ago Updated 1 month ago

[e10s] It's possible to accidentally drag-n-drop link/image onto the same tab and replace current page

Categories

(Core :: DOM: Drag & Drop, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: arni2033, Unassigned)

Details

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url [1] or url [2] in a new tab
2. Drag Link/image on that page to the center of the page
3. Wait until new page loads
4. Drop Link/image onto the free place on the page

AR:  Drop happens. Link/image loads in the same tab
ER:  Link/image shouldn't replace current url if I drag-n-drop it from this very tab onto the web page

> [1] data:text/html,<html ondragstart="location.href='http:/example.org'"><a href="http:/ya.ru">Link
> [2] data:text/html,<html ondragstart="location.href='http:/example.org'"><img src="about:logo">
No longer blocks: 1277113
Component: Untriaged → Drag and Drop
Product: Firefox → Core

For what it's worth, Chromium has now changed to stop blowing away the current tab upon a drop: https://textslashplain.com/2020/06/03/avoiding-unexpected-navigation/

You need to log in before you can comment on or make changes to this bug.