Closed Bug 1033869 Opened 11 years ago Closed 8 years ago

Improve errors from content scripts

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: canuckistani, Unassigned)

Details

Attachments

(1 file)

Attached image Browser_Console.png
Noticed this issue: http://stackoverflow.com/questions/24522610/console-log-in-the-web-console-for-firefox-add-on-sdk-1-16 How we handle syntax errors in content scripts is kind of a pain, we should try to improve this. To repro: Create an add-on that loads code with a syntax error into a content script, eg: // some syntax error (function() { console.log("should log?"); }; See the attachment for the error, we know the error is in cs.js, but the log entry links to core.js instead
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: