Closed Bug 252978 Opened 20 years ago Closed 20 years ago

JavaScript errors with Firefox Help

Categories

(SeaMonkey :: Help Viewer, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: crookedrain, Assigned: rjkeller)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040724 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040724 Firefox/0.9.1+

The following JavaScript error appears in the JavaScript Console after selecting
certain content items in Firefox Help:

Error: [Exception... "'JavaScript component does not have a method named:
"onStatusChange"' when calling method: [nsIWebProgressListener::onStatusChange]"
 nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location:
"<unknown>"  data: no]


Reproducible: Always
Steps to Reproduce:
1. Open Help in Help>Help Contents or by pressing F1.
2. Open JavaScript Console in Tools>JavaScript Console.
3. Take notice of the JavaScript Console after each of the following steps done
in the Contents menu.
  a. Click on "Using Mozilla Firefox"
  b. With "Using Mozilla Firefox" still selected, expand (or contract) "How to
Use Help"
  c. Click on "Managing Cookies"
  d. Expand or contract any of the following(or their submenus within) with
"Managing Cookies" still selected: Using Mozilla Firefox, Using the Download
Manager, Customization, Options, Controlling Popups.


Actual Results:  
All of the actions within step 3 will produce the JavaScript error listed above.  

Expected Results:  
There should be no JavaScript errors produced within Firefox Help.
Confirmed on the same build.

The Firefox help is still sort of a work in progress though, and is to be
polished sooner or later anyway (the theme has to be changed, among other
things) so I'm sure this'll get fixed before 1.0.

I wonder if there's a metabug for Firefox Help? I can't seem to find anything.
same problem same build

->NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
I see no errors if I select File | Work Offline. Could be related to the
fetching of Help images.
When working offline, I still get errors on the first selection of "Using
Mozilla Firefox" and "Managing Cookies" and cannot produce anymore after the
initial selections.  I did not notice any of the errors from expanding and
contracting.
(In reply to comment #1)
> Confirmed on the same build.
> 
> The Firefox help is still sort of a work in progress though, and is to be
> polished sooner or later anyway (the theme has to be changed, among other
> things) so I'm sure this'll get fixed before 1.0.
> 
> I wonder if there's a metabug for Firefox Help? I can't seem to find anything.

No, Firefox Help is done. Other than the skin problem, everything else should be
fine with it. I'll cook up a quick patch soon.
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
Patch has been tested and does work. Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I've noticed another JavaScript error and this one has not been fixed.  If you
try and drag any pictures or links, you get the following error:

Error: nsDragAndDrop is not defined

I am using the following build:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040725
Firefox/0.9.1+



Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #8)
> I've noticed another JavaScript error and this one has not been fixed.  If you
> try and drag any pictures or links, you get the following error:
> 
> Error: nsDragAndDrop is not defined
> 
> I am using the following build:
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040725
> Firefox/0.9.1+
> 

OK, fixed that one too :).
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
Product: Toolkit → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: