Closed Bug 311171 Opened 19 years ago Closed 19 years ago

[regression] Page style menu lost functionality (cannot select alt style)

Categories

(Firefox :: Menus, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: phiw2, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051004 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051004 Firefox/1.6a1

with build Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1)
Gecko/20051004 Firefox/1.6a1 ID:2005100406,
The 'Page Style' menu does not give access to alternate stylesheets anymore when
a  site uses alt stylesheets. Only 'No Style' and 'Basic Page Style' are available.

The URL above has 1 alt stylesheet but is not displayed in the menu.

Reproducible: Always

Steps to Reproduce:
1. Visit site that use alternate stylesheets
2. go to the View menu > Page style
3.

Actual Results:  
the various stylesheets are not available

Expected Results:  
display options for the various stylesheets available.

This is a regression, it works fine with
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051003
Firefox/1.6a1 ID:2005100311
Version: unspecified → Trunk
Confirmed on the branch with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b5)
Gecko/20051004 Firefox/1.4.1 with no extensions in safe mode using the default
theme. I switched to no style and was unable to switch back to basic page style.
The following was in the js console:

Error: uncaught exception: [Exception... "Unexpected error"  nsresult:
"0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame ::
chrome://browser/content/browser.js :: getStyleSheetArray :: line 5019"  data: no]

Error: uncaught exception: [Exception... "Unexpected error"  nsresult:
"0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame ::
chrome://browser/content/browser.js :: stylesheetSwitchFrame :: line 5102" 
data: no]
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: MacOS X → All
Hardware: Macintosh → All
This may be fixed by Bug 311090 ?
with the 1005 build:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051005
Firefox/1.6a1 ID:2005100506

Apparently, this is working again on my side.
Based on reporters comment --> wfm

I can also confirm this work as expected with branch build:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051005
Firefox/1.4.1

Please reopen if you can reproduce with a nightly trunk build
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Depends on: 311090
Resolution: WORKSFORME → FIXED
You need to log in before you can comment on or make changes to this bug.