Closed Bug 419390 Opened 16 years ago Closed 16 years ago

Need to catch Cocoa exceptions in Mac file handlers

Categories

(Core Graveyard :: File Handling, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stanshebs, Assigned: jaas)

References

Details

Attachments

(2 files)

The Mac-specific framework calls uriloader/exthandler/mac can potentially throw Cocoa exceptions that are not caught within the framework, and thus need to be wrapped in @try-blocks like other Cocoa code.
(I don't think the InternetConfig calls need it though, is self-contained.)
Assignee: nobody → joshmoz
Status: NEW → ASSIGNED
Attachment #305657 - Flags: superreview?(roc)
Attachment #305657 - Flags: review?(roc)
We're losing all history here. CVS renames are painful but since we're going to do this a lot, maybe we should just bite the bullet?
I said in irc last night that I was going to actually do this via cvs rename, but the patch is in add/remove format.
Comment on attachment 305657 [details] [diff] [review]
cleanup/rename v1.0

this hardly needs review...
Attachment #305657 - Flags: superreview?(roc)
Attachment #305657 - Flags: superreview+
Attachment #305657 - Flags: review?(roc)
Attachment #305657 - Flags: review+
landed "cleanup/rename v1.0"
Attached patch fix v1.0Splinter Review
Attachment #306621 - Flags: superreview?(roc)
Attachment #306621 - Flags: superreview?(roc) → superreview+
Attachment #306621 - Flags: approval1.9b4?
Comment on attachment 306621 [details] [diff] [review]
fix v1.0

Let's wait until after b4
Attachment #306621 - Flags: approval1.9b4?
Attachment #306621 - Flags: approval1.9b4-
Attachment #306621 - Flags: approval1.9?
Attachment #306621 - Flags: approval1.9?
Flags: blocking1.9+
landed on trunk
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Frankly, I don't think it's acceptable to loose the entire commit history
just to rename a file.  Please stop doing that.
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/xpcom/io/nsLocalFileOSX.mm
:-(
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: