Closed Bug 346082 Opened 19 years ago Closed 19 years ago

Remove aDragSession.sourceNode check from onDragExit method in tabbrowser.xml

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: waynegwoods, Assigned: moco)

Details

Attachments

(1 obsolete file)

This is a follow-up from bug 333791 comment 53. Now that bug 345425 is fixed, there's no danger of aDragSession.sourceNode being null in onDragExit. So we can remove the check for it. Patch follows.
The actual important bit is right at the end of the patch. The rest are just a few bad indents in the code that I wanted to correct at the same time because I'm anal and because they disrupt my flow of reading... but mostly just because I'm anal. I hope it's ok.
Attachment #230882 - Flags: superreview?(mconnor)
Attachment #230882 - Flags: review?(sspitzer)
Would also be nice to land on the 1.8 branch, but not critical.
Flags: blocking1.9a1?
Comment on attachment 230882 [details] [diff] [review] Removes the aDragSession.sourceNode check, and also tidies up a few crooked indents r=sspitzer for the trunk, assuming you've tested and made sure that aDragSession.sourceNode is no longer null on the mac.
Attachment #230882 - Flags: review?(sspitzer) → review+
Attachment #230882 - Attachment is obsolete: true
Attachment #230882 - Flags: superreview?(mconnor)
OK, cancel that. In light of bug 346172, I checked what happens when I drag links from mail messages over the tabs. In that situation, onDragExit is also called with a null aDragSession.sourceNode. So we can't remove the check. -> WONTFIX I didn't think that part of the tab dnd code was executed when other components are doing the drag. Sorry.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Flags: blocking1.9a1?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: