Last Comment Bug 734151 - remove new lines from the div class in the CC log
: remove new lines from the div class in the CC log
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: All All
: -- trivial (vote)
: ---
Assigned To: Olli Pettay [:smaug]
:
Mentors:
Depends on:
Blocks: 723783
  Show dependency treegraph
 
Reported: 2012-03-08 09:39 PST by Andrew McCreight [:mccr8]
Modified: 2012-03-30 12:27 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch (835 bytes, patch)
2012-03-28 13:19 PDT, Olli Pettay [:smaug]
benjamin: review+
Details | Diff | Review

Description Andrew McCreight [:mccr8] 2012-03-08 09:39:27 PST
I have a CC log with a bunch of these:

0x16aad0f00 [rc=6] nsGenericElement (xhtml) div class='simple-tweet tweet js-stream-tweet js-hover js-actionable-tweet js-profile-popup-actionable  

 sticky-actions colored-links' https://twitter.com/#!/glazou

No idea why that is happening.  Not a huge deal, as the parser just ignores those lines, but it does produce some annoying error messages.
Comment 1 Olli Pettay [:smaug] 2012-03-08 09:48:59 PST
Strange. We could replace \n with ' ' in classString.
Comment 2 Olli Pettay [:smaug] 2012-03-28 13:19:32 PDT
Created attachment 610269 [details] [diff] [review]
patch
Comment 3 Olli Pettay [:smaug] 2012-03-30 12:27:34 PDT
https://hg.mozilla.org/mozilla-central/rev/4c43cfe73516

Note You need to log in before you can comment on or make changes to this bug.