Closed Bug 409819 Opened 18 years ago Closed 15 years ago

Inconsistent handling of TITLE that contains null character(&#0x0000;)

Categories

(Firefox :: General, defect)

3.0 Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: masa141421356, Unassigned)

Details

(Whiteboard: [CLOSEME 2010-07-30])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2007122505 Minefield/3.0b3pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2007122505 Minefield/3.0b3pre When TITLE element of web page contains null character(�), Handling of title is not consistent (Window title, Tab title, History, etc.). Reproducible: Always Steps to Reproduce: 1.Open attachment 294549 [details] 2.Check window title, tab title etc. 3. Actual Results: Title of tab uses full title text. But title of window uses only characters before null character. Expected Results: They should be consistant It seems to be caused by difference of implementation to get length of String between traditional C (char[]), C++, and JavaScript.
Does this still happen in firefox 3.6.6 or later in a fresh profile?
Whiteboard: [CLOSEME 2010-07-30]
Version: unspecified → 3.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
This is still reproduced. But, I think , we can mark this bug as WONTFIX for HTML5 compatibility. Because, HTML5 draft sais "Text must not contain U+0000 characters." http://www.w3.org/TR/2010/WD-html5-20100624/syntax.html#syntax-text
You need to log in before you can comment on or make changes to this bug.