Closed Bug 311065 Opened 19 years ago Closed 19 years ago

Live Bookmarks FindTextInNode shouldn't find whitespace-only nodes

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 302133

People

(Reporter: jongampark, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051003 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051003 Firefox/1.4.1

After you add one of the links at http://www.hani.co.kr/rss/home_rss-01.html,
which are RSS addresses, you can't see article titles written in Korean in the
live bookmark.

Reproducible: Always

Steps to Reproduce:
1. Add one of the link to your live bookmark.
   Because there is no "Add to Live bookmark", you need to copy existing live
bookmark and change its feed URL to the one you see on the
http://www.hani.co.kr/rss/home_rss-01.html page.

2. Check if the article titles are displayed in the live bookmark.
3.

Actual Results:  
"Black square with a circle" characters are displayed.

Expected Results:  
Article titles in Korean

Probably there can be syntax errors in the RSS pages, but many web sites use
that kind of syntax. So, Firefox should handle it.
A not-very-edge-case that bug 253911 didn't handle - I'm surprised not to find
it already reported.

<title>
<![CDATA[The title]]>
</title>

gives us a text-node with a newline, a cdata-section-node with "The title", and
a text-node with a newline, but FindTextInNode is happy enough to stop with the
newline.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Article titles are not displayed on a live bookmark → Live Bookmarks FindTextInNode shouldn't find whitespace-only nodes
Attached file testcase
Depends on: 302133
Fixed for Firefox2/Places by bug 321036, would have been fixed by bug 302133 except the non-Places code wasn't ever going to make it to a release... duplicate's close enough, I guess.

*** This bug has been marked as a duplicate of 302133 ***
Status: NEW → RESOLVED
Closed: 19 years ago
No longer depends on: 302133
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: