Closed Bug 821042 Opened 13 years ago Closed 13 years ago

error events with no listeners should be logged into console

Categories

(Add-on SDK Graveyard :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: irakli, Assigned: irakli)

Details

Attachments

(1 file)

Error events without handlers are not handled at all and there for they may slip through. Instead they should be logged as exceptions into console.
Assignee: nobody → rFobic
Attachment #729662 - Flags: review?(zer0)
Comment on attachment 729662 [details] Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/900 The patch didn't seems to fix the problem; and if the unit test doesn't catch that, we'll probably need to fix the unit test too – or add a new test for this scenario.
Attachment #729662 - Flags: review?(zer0) → review-
Please, ignore my last comment. I messed up with the bug's number.
Comment on attachment 729662 [details] Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/900 Erik Zer0 got confused by this patch, mind taking review over ?
Attachment #729662 - Flags: review- → review?(evold)
Attachment #729662 - Flags: review?(evold) → review+
Commit pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/218489d16b19722ba45392f3c76040ed9f7af400 Merge pull request #900 from Gozala/bug/error-events@821042 fix Bug 821042 - Unhanhled error events should be logged r=@erikvold
Status: NEW → RESOLVED
Closed: 13 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: