Closed Bug 19042 Opened 26 years ago Closed 26 years ago

[RFE] Support "DumpLine" (dumpln) function

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

x86
Windows 95
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugs, Assigned: vidur)

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.
Severity: normal → enhancement
Assignee: mccabe → vidur
Component: Javascript Engine → DOM Level 0
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...
Added myself to the cc list in case Ben provides a patch. I volunteer to apply it.
In an attempt to get my bug list in order again, marking all the bugs I have currently as ASSIGNED.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
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.