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)
Tracking
()
RESOLVED
FIXED
Firefox 2 beta1
People
(Reporter: bzbarsky, Assigned: Gavin)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
(deleted),
patch
|
mconnor
:
review+
bzbarsky
:
superreview+
mconnor
:
approval-branch-1.8.1+
|
Details | Diff | Splinter Review |
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
Assignee | ||
Updated•19 years ago
|
QA Contact: mconnor → bookmarks
Comment 1•19 years ago
|
||
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 | ||
Updated•19 years ago
|
Assignee: nobody → gavin.sharp
Priority: -- → P2
Version: Trunk → 2.0 Branch
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•19 years ago
|
||
I filed bug 337962 on problems I found in the xpfe version.
Assignee | ||
Updated•18 years ago
|
Whiteboard: [swag: 1d]
Assignee | ||
Comment 3•18 years ago
|
||
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)
Assignee | ||
Updated•18 years ago
|
Whiteboard: [swag: 1d] → [patch-r?]
Comment 4•18 years ago
|
||
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+
Reporter | ||
Comment 5•18 years ago
|
||
Comment on attachment 223565 [details] [diff] [review]
patch
Looks reasonable... Why did you need to require chardet, though?
Attachment #223565 -
Flags: superreview?(bzbarsky) → superreview+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [patch-r?] → [checkin needed]
Assignee | ||
Comment 6•18 years ago
|
||
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]
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed]
Comment 7•18 years ago
|
||
Reopening just to make double-extra-sure we remember to get a trunk landing, now that trunk's going to ship non-Places.
Comment 8•18 years ago
|
||
(And, not that you were going to, but don't forget about bug 341277)
Depends on: 341277
Assignee | ||
Comment 9•18 years ago
|
||
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 ago → 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
You need to log in
before you can comment on or make changes to this bug.
Description
•