Closed
Bug 1033869
Opened 11 years ago
Closed 8 years ago
Improve errors from content scripts
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: canuckistani, Unassigned)
Details
Attachments
(1 file)
|
126.38 KB,
image/png
|
Details |
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
Priority: -- → P2
Comment 1•8 years ago
|
||
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Comment 2•8 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•