Closed Bug 1052074 Opened 10 years ago Closed 10 years ago

Improve error messages for protocol.js exceptions

Categories

(DevTools :: Framework, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 35

People

(Reporter: dcamp, Assigned: dcamp)

Details

Attachments

(1 file)

Right now exceptions in protocol.js methods reach the transport layer.  That's fine, it prints them out, but the attached patch handles them in the protocol.js layer so we can let the developer know which handler failed.
Attachment #8471022 - Flags: review?(jsantell)
Attachment #8471022 - Flags: review?(jsantell) → review+
Just wonder if there's any perf hits for all the try/catching on every protocol.js packet, can keep an eye on this
https://hg.mozilla.org/mozilla-central/rev/1a8a722c3dfc
Assignee: nobody → dcamp
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Flags: qe-verify-
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: