Closed
Bug 154538
Opened 22 years ago
Closed 22 years ago
Activating Mailto link results in crash
Categories
(Camino Graveyard :: Page Layout, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: chrispetersen, Assigned: sdagley)
References
()
Details
(Keywords: crash, regression)
Attachments
(2 files)
5.51 KB,
text/plain
|
Details | |
1.64 KB,
patch
|
Details | Diff | Splinter Review |
Build: 2002-06-26-05 Platform: OS X 10.1.5 Expected Results: Clicking on Mailto: link should launch default mail application What i got: Application crashes Steps to reproduce: 1) Open test case and click on link 2) Application crashes
Reporter | ||
Updated•22 years ago
|
Keywords: regression
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Updated•22 years ago
|
Severity: normal → blocker
Reporter | ||
Comment 2•22 years ago
|
||
Worked in previous build (2002-06-25-05).
Assignee | ||
Comment 4•22 years ago
|
||
I'm investigating but the fickle finger of blame would currently be pointing at bryner's change in v1.7 of ContentClickListener.mm
Comment 5•22 years ago
|
||
The following snippet fixes the crash for me but it doesn't do anything: nsCOMPtr<nsIURI> uri; if (NS_FAILED(NS_NewURI(getter_AddRefs(uri), href))) return NS_ERROR_FAILURE;
Keywords: crash
Assignee | ||
Comment 6•22 years ago
|
||
NS_NewURI fails to return a uri if we don't have a protcol handler for the href passed in. Just test for the nil uri rather than trying to get a service for the scheme of a nil uri.
Comment 7•22 years ago
|
||
Comment on attachment 89448 [details] [diff] [review] Fixes regression from bryner's NSURLectomy r=brade (altho I do wish we could just have the existing code be "if !uri { escapedString... }" )
Attachment #89448 -
Flags: review+
Comment 8•22 years ago
|
||
Comment on attachment 89448 [details] [diff] [review] Fixes regression from bryner's NSURLectomy r=bryner
Assignee | ||
Comment 9•22 years ago
|
||
fix just waiting for pinkerton to check it in (since I don't have check in privs for mozilla/chimera)
You need to log in
before you can comment on or make changes to this bug.
Description
•