Closed Bug 641666 Opened 13 years ago Closed 13 years ago

Document where the global 'console' object's messages go

Categories

(Add-on SDK Graveyard :: Documentation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwatt, Unassigned)

Details

Attachments

(1 file)

I expected the global 'console' object's messages to go to the Error Console, but they weren't going there. It was pointed out to me on IRC that this is because when you run Firefox from the command line the messages go there, but when you run it normally they go to the Error Console. I found this quite unexpected and really wish it was documented in the documentation for the global 'console' object, and also in the introductory material when 'console' is first used.
This patch includes the fix for this bug but also: bug 600431, bug 641442, 641658, 577772.
Attachment #521866 - Flags: review?(myk)
(In reply to comment #1)
> Created attachment 521866 [details] [diff] [review]
> Patch for a few small docs bugs
> 
This patch includes the fix for this bug but also: bug 600431, bug 641442, bug 641658, bug 577772.
Comment on attachment 521866 [details] [diff] [review]
Patch for a few small docs bugs

> `lib/foo.js` may make the following call to retrieve an absolute url
> to `data/mydata.dat`:

Nit: url -> URL (since you're here)


>-    var mydata = packaging.getURLForData("/mydata.dat");
>+    var myDataUrl = packaging.getURLForData("/mydata.dat");

Nit: myDataUrl => myDataURL (for consistency with convention, including getURLForData call)
Attachment #521866 - Flags: review?(myk) → review+
Fixed by: https://github.com/mozilla/addon-sdk/commit/bc518ee9aa5ca2cf5c318d635f60b9795d1d814d
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: