Closed Bug 84163 Opened 23 years ago Closed 23 years ago

javascript strict warnings in PageInfoOverlay.xul

Categories

(Core Graveyard :: Security: UI, defect, P2)

1.0 Branch
defect

Tracking

(Not tracked)

VERIFIED FIXED
psm2.1

People

(Reporter: bugzilla, Assigned: inactive-mailbox)

Details

(Keywords: verifyme)

Attachments

(1 file)

Warning: trailing comma is not legal in ECMA-262 object initializers
Source File: chrome://pippki/content/PageInfoOverlay.xul
Line: 69, Column: 10
Source Code:
          };

Warning: trailing comma is not legal in ECMA-262 object initializers
Source File: chrome://pippki/content/PageInfoOverlay.xul
Line: 99, Column: 4
Source Code:
    };

Warning: redeclaration of var hdr
Source File: chrome://pippki/content/PageInfoOverlay.xul
Line: 145, Column: 12
Source Code:
        var hdr = bundle.formatStringFromName("pageInfo_WeakEncryption",

Warning: redeclaration of var msg1
Source File: chrome://pippki/content/PageInfoOverlay.xul
Line: 149, Column: 12
Source Code:
        var msg1 = bundle.formatStringFromName("pageInfo_Privacy_Weak1",

Warning: redeclaration of var msg2
Source File: chrome://pippki/content/PageInfoOverlay.xul
Line: 153, Column: 12
Source Code:
        var msg2 = bundle.GetStringFromName("pageInfo_Privacy_Weak2");

Warning: redeclaration of var hdr
Source File: chrome://pippki/content/PageInfoOverlay.xul
Line: 156, Column: 12
Source Code:
        var hdr = bundle.GetStringFromName("pageInfo_NoEncryption");

Warning: redeclaration of var msg1
Source File: chrome://pippki/content/PageInfoOverlay.xul
Line: 159, Column: 12
Source Code:
        var msg1 = bundle.formatStringFromName("pageInfo_Privacy_None1",

Warning: redeclaration of var msg2
Source File: chrome://pippki/content/PageInfoOverlay.xul
Line: 163, Column: 12
Source Code:
        var msg2 = bundle.GetStringFromName("pageInfo_Privacy_None2");
Summary: javascript strict warnings in → javascript strict warnings in PageInfoOverlay.xul
->Crypto
Component: Security: General → Security: Crypto
really this time.
Assignee: mstoltz → ddrinan
QA Contact: ckritzer → junruh
Moving to Product: PSM for triage
Component: Security: Crypto → Client Library
Product: Browser → PSM
Version: other → 2.0
-> p2
target -> 2.1
Priority: -- → P2
Target Milestone: --- → 2.1
Keywords: nsenterprise
->kai

I was unable to test it, as I don't know the testcase for the messages. However,
there were simple syntax errors and I believe I fixed them.
Assignee: ddrinan → kai.engert
Keywords: patch, review
David, please review.
r=ddrinan.
sr=blizzard
who's up for a checkin?
Status: NEW → ASSIGNED
Mass assigning QA to ckritzer.
QA Contact: junruh → ckritzer
Checked in patch for Kai
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
keywords->verifyme
Keywords: patch, reviewverifyme
Verified.
Status: RESOLVED → VERIFIED
Product: PSM → Core
Version: psm2.0 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: