Closed Bug 297668 Opened 20 years ago Closed 20 years ago

Javascript strict warnings in bookmarks.js

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
trivial

Tracking

()

VERIFIED FIXED

People

(Reporter: romain, Assigned: romain)

References

Details

Attachments

(1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050613 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050613 Firefox/1.0+

Create a new folder in the bookmark manager or while bookmark a page generates 2
javascript strict warnings :

Warning: assignment to undeclared variable value
SourceFile: chrome://browser/content/bookmarks/bookmarks.js
Line: 550

Warning: assignment to undeclared variable isValid
Source File:chrome://browser/content/bookmarks/bookmarks.js
Line:1397

Reproducible: Always

Steps to Reproduce:
1. Bookmark whatever page you want
2. When you have the window wich ask you for a folder, click on the little
triangle on the right
3. Click on "New Folder ..."
4. See with the Javascript Console the 2 warnings (strict warnings have to be
enabled)

Actual Results:  
There are 2 strict warnings in the Javascript Console.

Expected Results:  
Correct theese strict warnings.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch patch (obsolete) — Splinter Review
Attachment #186215 - Flags: review?(mconnor)
Attachment #186215 - Flags: review?(mconnor) → review+
Whiteboard: [checkin needed]
Attachment #186215 - Flags: approval-aviary1.1a2?
Romain, please assign bugs to yourself when suppling patches.
Assignee: nobody → r.bezut
Whiteboard: [checkin needed]
Attachment #186215 - Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
Whiteboard: [checkin needed][a+]
Comment on attachment 186215 [details] [diff] [review]
patch

mozilla/browser/components/bookmarks/content/bookmarks.js	1.100
Attachment #186215 - Attachment is obsolete: true
Whiteboard: [checkin needed][a+]
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: