[RFE] Support "DumpLine" (dumpln) function

RESOLVED WONTFIX

Status

()

Core
DOM: Core & HTML
P3
enhancement
RESOLVED WONTFIX
19 years ago
19 years ago

People

(Reporter: Ben Goodger (use ben at mozilla dot org for email), Assigned: vidur (gone))

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

I can use "dump()" in chrome to dump a string to the console, but I have to put
in a "\n" myself at the end of each function call. Okay, so I'm lazy, but it
sure would be nice to have a dumpln() function that did that automatically ;)

basically dumpln() would just take the string and append a newline to the end,
and then display in the console.

Updated

19 years ago
Severity: normal → enhancement

Updated

19 years ago
Assignee: mccabe → vidur
Component: Javascript Engine → DOM Level 0

Comment 1

19 years ago
I think this function is defined in the DOM somewhere...

Also CC'ing shaver, in case he wants to add it.

Hm.  Hey, rgoodger; I know you're a developer type; how about finding where dump
is defined, and modifying it to produce patches for this feature you want?  It's
not too likely the DOM folks have time...

Comment 2

19 years ago
Added myself to the cc list in case Ben provides a patch.  I volunteer to apply
it.
(Assignee)

Comment 3

19 years ago
In an attempt to get my bug list in order again, marking all the bugs I have
currently as ASSIGNED.
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → WONTFIX
(Assignee)

Comment 4

19 years ago
dump() is not a DOM function - it's something we put in for internal debugging
purposes. I suppose we might leave it around in a final build - dumping to a JS
console rather than the DOS-based one we have right now. Either way, I'm going
to later this one. As mccabe said, rgoodger is welcome to produce a patch *and*
check it in directly if he wants.
...which I will almost certainly be attempting to do when I get to MV and have a
machine I can compile on ;)

I'd hope that /mozilla/ builds would always have the option of loading with
console/ all these nice extra debugging features, since it makes UI designing
that much easier.
You need to log in before you can comment on or make changes to this bug.