Closed Bug 881191 Opened 11 years ago Closed 11 years ago

Lots of IPCs caused by mozilla::dom::PContentChild::SendScriptError

Categories

(Core :: IPC, defect)

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 795534

People

(Reporter: laszio.bugzilla, Unassigned)

Details

When opening Twitter on Firefox OS, script errors are repeatedly detected and sent to parent process for logging. Unfortuanately, many of the errors occured in extremely long lines. There are about 34 MBytes sent when opening Twitter, although parent process cuts it off before printing it out. Anyway, it puts unecessary overheads to IPCs. Should we put some limitations on the erring source lines sent or just not show them?
Hi Kyle and Justin, any comments? I'd like to cut the lines off earlier in ConsoleListener::Observe()
Flags: needinfo?(khuey)
Flags: needinfo?(justin.lebar+bug)
(In reply to Ting-Yuan Huang from comment #1)
> Hi Kyle and Justin, any comments? I'd like to cut the lines off earlier in
> ConsoleListener::Observe()

We've had lots of problems with the console listener sending very long messages.  Go for it.
Flags: needinfo?(justin.lebar+bug)
(In reply to Justin Lebar [:jlebar] from comment #2)
> (In reply to Ting-Yuan Huang from comment #1)
> > Hi Kyle and Justin, any comments? I'd like to cut the lines off earlier in
> > ConsoleListener::Observe()
> 
> We've had lots of problems with the console listener sending very long
> messages.  Go for it.

+1
Flags: needinfo?(khuey)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.