Closed Bug 542875 Opened 14 years ago Closed 10 years ago

Firefox 3.6 Myspace comments, two periods are added that aren't typed.

Categories

(Web Compatibility :: Site Reports, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: inmysights93, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

When posting a comment on Myspace, two periods are added at the beginning of your post after you submit. Linked image below shows what is typed on top and what is posted on the bottom. Happened with the beta as well, I made a report then that obviously was overlooked before the full release. Doesn't happen in Firefox 3.5

http://i90.photobucket.com/albums/k268/swatmaster06/36issue.png

Reproducible: Always

Steps to Reproduce:
1. Log on Myspace
2. Go to friend's Page
3. Post a comment
Actual Results:  
Comment is posted with two periods preceding the message.

Expected Results:  
Comment should be posted exactly as typed, without the two periods before my text.

Happens with any theme.
http://valid.canardpc.com/show_oc.php?id=912704
That's a link to my PC's hardware specs, not that I think it makes a difference.
Can you try safe mode?
http://support.mozilla.com/en-US/kb/Safe+Mode
Version: unspecified → 3.6 Branch
The problem still occurs in safe mode.
I've been having the same problem for months back in 2009 and still to this day. I figured it was something stupid Myspace was doing because of its poor coding. But I never thought to think it could be Firefox's fault.

But back in 2009, I was using trunk builds and this problem was still occurring. So this wasn't introduced with 3.6.

From what I can see, somewhere in between 6/5/09 & 10/20/2009, messages I sent have 2 periods at the beginning. Myspace redesigned their inbox/private message system last summer so most likely this is a bug on their end. Unfortunately I can't narrow it down any further since I only sent 1 PM after June 5th (the one on Oct. 20th).

I'll investigate with Chrome and see what the behavior is. Also do you get the 2 periods when you send a message/post a comment thru IE?
That's odd, I didn't have this problem until 3.6
Latest IE and Chrome don't have this problem.
Noah was probably running trunk builds, so, he would have seen the issue before you if it was related to firefox 3.6.
I had a feeling this was gonna be related to another Myspace bug I filed, Bug 500937, where there was some odd phrase overwriting statuses in the Status and mood section.

That was caused by bug 468708. I have pinpointed this regression exactly to 6/9/2009 trunk, the same day bug 468708 was checked in.

inmysights is right. The reason no one saw this on the 3.5.x series was because bug 468708 was not checked in on it and was only recently added with 3.6.

I have reproduced the problem while posting comments to another person's page. My reply in comment 3, was about seeing the 2 periods while using only the private message system. But it only shows up when my PM has been quoted in a message sent by a friend. My sent messages in the Sent folder, do not show the 2 periods.

This is still probably going to be a Myspace coding issue and I predict Mozilla is going to ask them to evangelize (update their code). I only wish I had caught this last summer.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Update:
In the myspace forums, a user said the following:

**************************************
Happens to me too.
I found a fix, though.

1.) Write your message/comment.
2.) Afterwards, click the "HTML" button on the format bar (font, color, bold, italic, etc.) above your message or comment.
3.) This code will appear before your message/comment:

    <html xmlns="http://www.w3.org/1999/xhtml">

Delete it.
4.) After your message/comment, there is a < > with br / inside it. Delete this.
5.) Send your message/comment.

You have to do this every time, unfortunately, but at least there is a way around it.
**************************************
http://forums.myspace.com/t/4717488.aspx?fuseaction=forums.viewthread
This is basically what bug 500937 was about. The new two dots thing is a myspace sanitizer replacing tags like <html> and <body> with "..", so <html xmlns="http://www.w3.org/1999/xhtml"> gets replaced with "..".

Moving to tech evangelism, since the evangelism planned in bug 500937 hasn't gotten results, yet.

The problem is that myspace uses XMLSerializer in a weird way on an HTML DOM and expects the line
h=h.replace(/<html>|<\/html>|<html\/>/gi,"")
to zap the root element tags.

MySpace probably shouldn't be using XMLSerializer at all here. They minified JS is hard enough to pick apart, so I don't have a code suggestion for what they should do instead.
Assignee: nobody → english-us
Component: General → English US
Product: Firefox → Tech Evangelism
QA Contact: general → english-us
Version: 3.6 Branch → unspecified
Hope they fix this bug soon, annoying the **** out of me.
The site has changed many times since that bug.
Assignee: english-us → nobody
Status: NEW → RESOLVED
Closed: 10 years ago
Component: English US → Desktop
Resolution: --- → INVALID
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.