Closed Bug 350849 Opened 18 years ago Closed 18 years ago

User agent/build id missing from about:

Categories

(Firefox :: General, defect)

2.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2

People

(Reporter: zeniko, Assigned: zeniko)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

This might well be a DUPE since the issue has existed for over a week now.

Steps to reproduce:
1. Open about:

Actual result:
Error: uncaught exception: Permission denied to get property UnnamedClass.classes

Expected result:
Get an easily copyable version of the user agent (incl. build id).
CC'ing zach, since bug 345993 changed this code.
This is rather a regression from bug 346186 and should be fixed by either backing out that code or at least try-catching it as long as bug 349985 isn't fixed.
Keywords: regression
Yeah, this is 349985. I'm glad to see someone noticed this.

*** This bug has been marked as a duplicate of 349985 ***

*** This bug has been marked as a duplicate of 349985 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: regression
Resolution: --- → DUPLICATE
No duplicate (unless you want to morph that other bug). I don't care what kind of privileges about: gets - as long as I get my user agent/build id displayed.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Drivers: This low-risk patch adds a try-catch block so that the user agent in about: is displayed even when Components.classes isn't available.
Assignee: nobody → zeniko
Status: REOPENED → ASSIGNED
Attachment #236226 - Flags: review?(dietrich)
Attachment #236226 - Flags: approval1.8.1?
Comment on attachment 236226 [details] [diff] [review]
graciously handle lacking privileges

r+a=me, low risk patch to something we don't expose in the UI, and is fundamentally correct and safe
Attachment #236226 - Flags: review?(dietrich)
Attachment #236226 - Flags: review+
Attachment #236226 - Flags: approval1.8.1?
Attachment #236226 - Flags: approval1.8.1+
I'd also like to see a patch that removes the release notes link text entirely if it doesn't have the needed permission to display the link. :)
(In reply to comment #8)
> I'd also like to see a patch that removes the release notes link text entirely
> if it doesn't have the needed permission to display the link. :)

You've got better chances of getting that wish granted when filing a new bug toward that end. ;)
Whiteboard: [checkin needed][checkin needed (1.8 branch)]
Target Milestone: --- → Firefox 2
mozilla/toolkit/content/about.xhtml 	1.20
mozilla/toolkit/content/about.xhtml 	1.8.8.11
Status: ASSIGNED → RESOLVED
Closed: 18 years ago18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [checkin needed][checkin needed (1.8 branch)]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: