Closed Bug 307047 Opened 19 years ago Closed 19 years ago

stackTraceFunctionFormat(aFunctionName) as typo error

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: oscar.vives, Assigned: ispiked)

Details

Attachments

(1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-1)

I am running firefox with debugger mode set to pedantic. Theres a few errors on
firefox itself I guest can generate other errors.

On stackTraceFunctionFormat(aFunctionName)

The code:
  if (!functionName) 
    functionName == "<anonymous>";
sould be:
  if (!functionName) 
    functionName = "<anonymous>";

My version is:
Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.8) Gecko/20050517 Firefox/1.0.4
(Debian package 1.0.4-1)


Reproducible: Always

Steps to Reproduce:
1. activate debugging
2. look at javascript console
3. Profit!

Actual Results:  
Info on log appear:

-----
Advertencia: useless expression
Archivo de origen: file:///usr/lib/mozilla-firefox/components/nsExtensionManager.js
Línea: 337

Expected Results:  
Zero boogs!
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Version: unspecified → Trunk
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #194853 - Flags: review?(rob_strong)
Assignee: nobody → ispiked
Comment on attachment 194853 [details] [diff] [review]
patch v1

That is part of Ben's debug code which has been ifdef'd so it is preprocessed
out of nsExtensionManager.js except on the aviary 1.0.x branch and afaik
patches to just fix strict warnings aren't accepted for aviary. The patch is
fine but I would  prefer if you asked Ben to review it since it isn't part of
the build now and he may prefer to change it or remove it entirely.
Attachment #194853 - Flags: review?(rob_strong)
Comment on attachment 194853 [details] [diff] [review]
patch v1

Just going through some bugs and noticed this patch needed ben to review it
Attachment #194853 - Flags: review?(beng.bugs)
Fixed on trunk by the checkin for bug 329045
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment #194853 - Attachment is obsolete: true
Attachment #194853 - Flags: review?(beng.bugs)
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: