Closed
Bug 354251
Opened 18 years ago
Closed 18 years ago
"Open in Tabs" string missing from History menu under "Recently Closed Tabs" (if you disable places)
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
Firefox 3 alpha1
People
(Reporter: moco, Assigned: moco)
References
()
Details
Attachments
(2 files, 1 obsolete file)
118.56 KB,
image/png
|
Details | |
3.99 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
"Open in Tabs" string missing from History menu under "Recently Closed Tabs" (if you disable places)
http://litmus.mozilla.org/show_test.cgi?id=2468
from the console:
JavaScript error: chrome://browser/content/browser.js, line 6610: strings has no properties
here comes a screen shot
Assignee | ||
Comment 1•18 years ago
|
||
Assignee | ||
Comment 2•18 years ago
|
||
here's the cause, I think:
http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#6887
Assignee | ||
Comment 3•18 years ago
|
||
note, these strings are duplicated. the still live in places.properties, for use by http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser-places.js#420
Attachment #240099 -
Flags: review?(dietrich)
Assignee | ||
Comment 4•18 years ago
|
||
in addition to the menu not having a label, the menu item won't work as we'll throw that error
Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → Firefox 3 alpha1
Comment 5•18 years ago
|
||
(In reply to comment #3)
> Created an attachment (id=240099) [edit]
> patch
>
> note, these strings are duplicated. the still live in places.properties, for
> use by
> http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser-places.js#420
>
Instead of duplicating the strings, would it be possible to remove the duplicate strings from places.properties, and use gNavigatorBundle with the browser.properties string in both locations? These are the only consumers of the property, so it'd be great not to duplicate.
http://lxr.mozilla.org/mozilla/search?string=menuOpenInTabs.label
Assignee | ||
Comment 6•18 years ago
|
||
should be doable, since:
/browser/base/content/browser.js, line 6769 -- #include browser-places.js
so we should have access to browser.properties (via bundle_browser).
I'll investigate that (for --enabled-places, to make sure I don't break that.)
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•18 years ago
|
||
here's a better patch (thanks to dietrich for the suggestion) to move (instead of duplicating) the strings.
I've tested on trunk both with places (and without, which is now the default.)
Attachment #240099 -
Attachment is obsolete: true
Attachment #240201 -
Flags: review?(dietrich)
Attachment #240099 -
Flags: review?(dietrich)
Assignee | ||
Updated•18 years ago
|
OS: Mac OS X 10.3 → All
Hardware: PC → All
Updated•18 years ago
|
Attachment #240201 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 8•18 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Component: History → Bookmarks & History
QA Contact: history → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•