Closed Bug 1108412 Opened 5 years ago Closed 5 years ago

nsPrompter.js, line 214: ReferenceError: assignment to undeclared variable port

Categories

(Toolkit :: Notifications and Alerts, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: cpeterson, Assigned: cpeterson)

Details

Attachments

(1 file)

1. Fix strict mode warning about assigning to an undeclared variable `port`:

JavaScript strict error: file:///Users/chris/Code/mozilla/inbound/objdir-osx/dist/NightlyDebug.app/Contents/Resources/components/nsPrompter.js, line 214: ReferenceError: assignment to undeclared variable port

2. Add "use strict", which would turn the strict mode warning into an error.
Attachment #8532952 - Flags: review?(dolske)
Attachment #8532952 - Flags: review?(dolske) → review+
https://hg.mozilla.org/mozilla-central/rev/350917941d64
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.