Closed
Bug 225453
Opened 22 years ago
Closed 22 years ago
JavaScript issues with 0928 and later nightly builds Outline style Table of Contents Script
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 222191
People
(Reporter: wgianopoulos, Unassigned)
Details
Attachments
(1 file, 4 obsolete files)
|
130.00 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20030928 Firebird/0.7+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20030928 Firebird/0.7+
OUTLINE STYLE TABLE OF CONTENTS in JAVASCRIPT Version 3.0 by Danny Goodman
(dannyg@dannyg.com), does not work with any MozillaFirebird nightly dated 0928
and later. It works fine with the 0926 MozillaFirebird nightly. I have also
verified that it fails with the Mozilla suite as well. This script is used in
the Cisco VPN 3000 concentrator configuration tool.
Reproducible: Always
Steps to Reproduce:
1. Log onto a Cisco VPN 3000 concentrator via the web admin interface
2. Click on a "+" in the sidebar menu
3.
Actual Results:
Nothing. Javascript errors are reported.
Expected Results:
Exapnded the menu choices.
| Reporter | ||
Comment 1•22 years ago
|
||
| Reporter | ||
Comment 2•22 years ago
|
||
| Reporter | ||
Comment 3•22 years ago
|
||
| Reporter | ||
Comment 4•22 years ago
|
||
Comment 5•22 years ago
|
||
William: thank you for such a thorough report! However, this web app
uses a lot of other HTML files we'd need to see to debug this.
Reassigning to Browser-General for now, as this is not likely to
result from a bug in JS Engine.
Is there a public website anyone knows of that uses the same script?
Assignee: general → general
Component: JavaScript Engine → Browser-General
QA Contact: PhilSchwartau → general
I only had a couple seconds to look at this, but in Bonsai there's one
suspicious checkin: bug 165653. It changed how the sidebar is accessed
programmatically, and perhaps broke the script. It caused at least one other
regression, where you couldn't add any search engines.
| Reporter | ||
Comment 7•22 years ago
|
||
re: comment #5 let me see if I can make up something with just files on my hard
drive to illustrate the issue.
Comment 8•22 years ago
|
||
cc'ing Chris - (note the error messages in Comment #1 mention sidebar)
| Reporter | ||
Comment 9•22 years ago
|
||
Hmmm. Well I did find a public site that uses this script (actually it is the
author's website so it might be a newer version) and that works fine. I would
certaiinly hope it is NOT the sidebar checkin that broke this as this is just a
frame that happens to be named sidebar and I would certainly hope that the code
in Mozilla is not assuming every frame named sidebar is the mozilla sidebar.
| Reporter | ||
Comment 10•22 years ago
|
||
Attachment #135318 -
Attachment is obsolete: true
Attachment #135320 -
Attachment is obsolete: true
Attachment #135321 -
Attachment is obsolete: true
Attachment #135322 -
Attachment is obsolete: true
| Reporter | ||
Comment 11•22 years ago
|
||
Comment on attachment 135357 [details]
Tar file contianing pages that exhibit failure
This attachment is a tar file containing files needed to exhibit the problem.
It does not disply quite right, but the sidebar manus can be expanded,
contarcted with the MozillaFirebird 9/26 nightly and not swith the 9/28 and
later nightlies.
Comment 12•22 years ago
|
||
> is not assuming every frame named sidebar is the mozilla sidebar.
No, but it is assuming that window.sidebar is a Mozilla-internal object.... If
you want the frame named sidebar, window.frames['sidebar'] is at your beck and
call...
| Reporter | ||
Comment 13•22 years ago
|
||
Hmm. Well it appears that the fact that the frame is named sidebar definitely
IS the issue. I changed the frame name and all the script refernces from
'sidebar' to sidebarx' in my saved to local files version, and now the menus
work with the 0928 nightly.
Now the question is how do we get Cisco to change the name of the frame in the
firmware embedded web browser in this product?
Is 'sidebar' now some documented reserved word that refers to the browser
sidebar? If not, how mush stuff would break if we renamed this to something
more descriptive and less likely to conflict with existing pages like
'browsersidebar' for example?
Or is there some way to recode this fix such that refernces like
top.subframe.sidebar and parent.subframe.sidebar will work like they used to?
Comment 14•22 years ago
|
||
Marking dup of shorter bug with clearer explanation....
*** This bug has been marked as a duplicate of 222191 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•