Closed Bug 201630 Opened 22 years ago Closed 21 years ago

javascript strict warnings in nsPolicyViewer.js and pageInfoOverlay.js

Categories

(Core :: XML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: timeless)

Details

Attachments

(1 file)

Warning: anonymous function does not always return a value Source File: chrome://communicator/content/p3p/nsPolicyViewer.js Line: 291, Column: 97 Source Code: return this.handleURI(this.mLinkedURI, this.mFlag = nsIPolicyReference.IS_LINKED_URI); Warning: anonymous function does not always return a value Source File: chrome://communicator/content/p3p/nsPolicyViewer.js Line: 303, Column: 2 Source Code: }, Warning: anonymous function does not always return a value Source File: chrome://communicator/content/p3p/nsPolicyViewer.js Line: 377, Column: 2 Source Code: }, Warning: anonymous function does not always return a value Source File: chrome://communicator/content/p3p/nsPolicyViewer.js Line: 460, Column: 2 Source Code: }, Warning: redeclaration of var length Source File: chrome://p3p/content/pageInfoOverlay.js Line: 136, Column: 6 Source Code: var length = elts.length; 20030410
Summary: javascript strict warnings in nsPolicyViewer.js → javascript strict warnings in nsPolicyViewer.js and pageInfoOverlay.js
Attached patch address warningsSplinter Review
Attachment #137434 - Flags: superreview?(bz-vacation)
Attachment #137434 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 137434 [details] [diff] [review] address warnings sr=bzbarsky if no caller needs the return values of window.open...
Attachment #137434 - Flags: superreview?(bz-vacation) → superreview+
Attachment #137434 - Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee: hjtoi-bugzilla → timeless
mozilla/extensions/p3p/resources/content/nsPolicyViewer.js 1.4 mozilla/extensions/p3p/resources/content/pageInfoOverlay.js 1.2
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: