Closed Bug 284660 Opened 20 years ago Closed 18 years ago

Firefox bookmarks don't provide a charset to layout code

Categories

(Firefox :: Bookmarks & History, defect, P2)

2.0 Branch
defect

Tracking

()

RESOLVED FIXED
Firefox 2 beta1

People

(Reporter: bzbarsky, Assigned: Gavin)

References

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

See bug 101995. The api for doing this was changed a few years back, and it looks like no one ever updated the firefox bookmark fork. Marking dependent, since there is a proposed api change in bug 101995, but we should really just fix this to do what seamonkey does and then change as needed if the api changes.
Assignee: vladimir+bm → nobody
QA Contact: mconnor → bookmarks
Quick summary of this: 1) User visits site, we misguess the charset, user manually sets the charset and it works, and then bookmarks the site. 2) User visits the site again, and has to reset the charset again each time. 3) User smash Firefox
Flags: blocking-firefox2+
Target Milestone: --- → Firefox 2 beta1
Assignee: nobody → gavin.sharp
Priority: -- → P2
Version: Trunk → 2.0 Branch
Status: NEW → ASSIGNED
I filed bug 337962 on problems I found in the xpfe version.
Whiteboard: [swag: 1d]
Attached patch patch (deleted) — Splinter Review
I tested this with NHL.com (which doesn't specify an encoding), in a new profile: 1) Go to NHL.com, check that the page encoding is the default (ISO-8859-1 in my case) using the View->Character Encoding menu. 2) Change the character encoding to "Western (Windows-1252)" using the menu. 3) Bookmark the page. 4) Restart the browser. 5) Clear the cache. 6) Visit NHL.com, verify that the character encoding is "Western (Windows-1252)". That test fails without this patch, and succeeds with it.
Attachment #223565 - Flags: superreview?(bzbarsky)
Attachment #223565 - Flags: review?(mconnor)
Attachment #223565 - Flags: approval-branch-1.8.1?(mconnor)
Whiteboard: [swag: 1d] → [patch-r?]
Comment on attachment 223565 [details] [diff] [review] patch r+a=me, pending bz's SR
Attachment #223565 - Flags: review?(mconnor)
Attachment #223565 - Flags: review+
Attachment #223565 - Flags: approval-branch-1.8.1?(mconnor)
Attachment #223565 - Flags: approval-branch-1.8.1+
Comment on attachment 223565 [details] [diff] [review] patch Looks reasonable... Why did you need to require chardet, though?
Attachment #223565 - Flags: superreview?(bzbarsky) → superreview+
Whiteboard: [patch-r?] → [checkin needed]
Fixed on the branch. The trunk doesn't build this code, it will be fixed in bug 317472, so closing off this bug.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Whiteboard: [checkin needed]
Reopening just to make double-extra-sure we remember to get a trunk landing, now that trunk's going to ship non-Places.
Blocks: 353571
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(And, not that you were going to, but don't forget about bug 341277)
Depends on: 341277
mozilla/browser/components/build/nsModule.cpp 1.45 mozilla/browser/components/build/Makefile.in 1.47 mozilla/browser/components/bookmarks/src/nsBookmarksService.h 1.26 mozilla/browser/components/bookmarks/src/nsBookmarksService.cpp 1.89 mozilla/browser/components/bookmarks/src/Makefile.in 1.20
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: