Closed Bug 1038092 Opened 10 years ago Closed 10 years ago

[jsdbg2] Stopping inside a drag & drop event handler causes the UI to freeze

Categories

(DevTools :: Debugger, defect)

31 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 916439

People

(Reporter: sebo, Unassigned)

References

()

Details

This was initially reported for Firebug[1], though this problem also happens in the native debugger.

1. Open the DevTools debugger on http://help.dottoro.com/external/examples/ljbonkao/ondragleave_1.htm
2. Set a breakpoint at line 32 ("var target = document.getElementById ("target");")
3. Select some text inside the green <div> (#source)
4. Drag it into the <textarea> (#target)

=> The script execution stops at line 32 (OK) but then no mouse or keyboard interaction isn't possible anymore.

This problem happens at least for these events:

- dragleave
- dragenter
- dragover

It probably happens for other drag & drop events, too, though I didn't test that.

Sebastian

[1] https://code.google.com/p/fbug/issues/detail?id=5189
We already have bug 916439 for this issue.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.