Closed Bug 739965 Opened 8 years ago Closed 8 years ago

Expose some of the webconsole API as an interim measure

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.21

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(1 file)

Until bug 574955 gives us the full webconsole, I thought that as an interim measure we could create a hidden preference to log calls to console.log (and info, warn and error) to the Error Console.
Attached patch Proposed patchSplinter Review
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #610111 - Flags: review?(iann_bugzilla)
Oh, the Array.slice tweak exists because sometimes we get given an [object Arguments] rather than a real array, and for some of the other API calls we get some other sort of object so I can't fix it before the case statement.
> Blocks: 574955
NO it doesn't I don't think.
No longer blocks: 574955
Attachment #610111 - Flags: review?(iann_bugzilla) → review+
Pushed changeset bbbdc62ed3bc to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.21
You need to log in before you can comment on or make changes to this bug.