Closed Bug 918354 Opened 12 years ago Closed 12 years ago

[OS.File] Remove outer try/catch in osfile_async_worker.js

Categories

(Toolkit Graveyard :: OS.File, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla27

People

(Reporter: Yoric, Assigned: errietta)

Details

(Whiteboard: [mentor=Yoric][lang=js])

Attachments

(2 files, 2 obsolete files)

Now that worker errors are displayed, we should get rid of the outer try/catch in osfile_async_worker.js.
Attached patch Proposed patch (obsolete) — Splinter Review
Attachment #808522 - Flags: review?(dteller)
Comment on attachment 808522 [details] [diff] [review] Proposed patch Review of attachment 808522 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, but I'll wait until I have a version of this patch that ignores whitespace before finishing the review. Also, you'll need to add ";r=yoric" at the end of your commit message. ::: toolkit/components/osfile/modules/osfile_async_worker.js @@ +18,2 @@ > > + /** Nit: Could you keep the alignment of /** and the following * as it was before your patch? @@ +94,2 @@ > > + /** Nit: Same thing her and in other uses of /**
Attachment #808522 - Flags: review?(dteller) → feedback+
Attached patch Proposed patch (obsolete) — Splinter Review
Attachment #808534 - Flags: review?(dteller)
Comment on attachment 808535 [details] [diff] [review] whitespace-insensitive patch (do not land) Review of attachment 808535 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks.
Attachment #808535 - Flags: review?(dteller)
Attachment #808522 - Attachment is obsolete: true
Comment on attachment 808534 [details] [diff] [review] Proposed patch Review of attachment 808534 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. I forgot to ask you to add the bug# in the commit message. So, something like "Bug 918354 - Remove outer try/catch in osfile_async_worker.js; r=yoric"
Attachment #808534 - Flags: review?(dteller) → review+
Assignee: nobody → errietta
Attachment #808535 - Attachment description: whitespace-insensitive patch → whitespace-insensitive patch (do not land)
Attached patch PatchSplinter Review
Attachment #808534 - Attachment is obsolete: true
Attachment #808564 - Flags: review+
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [mentor=Yoric][lang=js] → [mentor=Yoric][lang=js][fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [mentor=Yoric][lang=js][fixed-in-fx-team] → [mentor=Yoric][lang=js]
Target Milestone: --- → mozilla27
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: