Closed Bug 286873 Opened 19 years ago Closed 19 years ago

Crash on proxy icon drag if the associated page has a null title.

Categories

(Camino Graveyard :: Drag & Drop, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: moz, Assigned: moz)

Details

(Keywords: crash, testcase)

Attachments

(2 files)

Go to a page with no title tag and attempt to drag the proxy icon on the URL
bar. Chances are, you'll see a crash.

Testcase *and* easy patch forthcoming.
Attached file Testcase.
Attached patch Proposed patch.Splinter Review
This makes sure |title| is non-nil, and since we've already put the URL data
into the same var, it should use the URL as the title if |title| *is* nil.
Whoops, changing keywords and assignee (to myself).

(I wonder if this qualifies for the "contributor" list...).
Assignee: pinkerton → mozilla
Keywords: testcase
Comment on attachment 177973 [details] [diff] [review]
Proposed patch.

I'm gonna check for a reviewer in IRC, but it's so simple a fix it might not
even need more than one look over (if that).
Attachment #177973 - Flags: superreview?(pinkerton)
Attachment #177973 - Flags: review?
Target Milestone: --- → Camino0.9
Comment on attachment 177973 [details] [diff] [review]
Proposed patch.

sr=pink.
Attachment #177973 - Flags: superreview?(pinkerton) → superreview+
Severity: major → critical
Attachment #177973 - Flags: review? → review?(joshmoz)
Attachment #177973 - Flags: review?(joshmoz) → review+
Checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: