Closed
Bug 1517756
Opened 6 years ago
Closed 6 years ago
siteDataSettings.js should have "use strict" before any other statements
Categories
(Firefox :: Settings UI, enhancement, P5)
Firefox
Settings UI
Tracking
()
RESOLVED
FIXED
Firefox 66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: standard8, Assigned: danielleleb12, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
Currently siteDataSettings.js has `"use strict";` defined after the imports, however the strict statement should be the first one in the file - just after the license header.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#Strict_mode_for_scripts
https://searchfox.org/mozilla-central/rev/ecf61f8f3904549f5d65a8a511dbd7ea4fd1a51d/browser/components/preferences/siteDataSettings.js#14
I'm happy to mentor someone on this, easy patch to get used to the process.
Updated•6 years ago
|
Blocks: coverity-analysis
Keywords: coverity
Updated•6 years ago
|
Priority: -- → P5
Assignee | ||
Comment 1•6 years ago
|
||
If this issue is still available, I would like to do it as my first bug.
Reporter | ||
Comment 2•6 years ago
|
||
Hi, as far as I know no-one else is working on it, so please take it - I've assigned it to you.
If you need any help, please ask here or in #introduction on IRC (https://wiki.mozilla.org/IRC).
Assignee: nobody → danielleleb12
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•6 years ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3793bfd5c19d
Moves 'use strict' statement to top of file. r=Standard8
Comment 5•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in
before you can comment on or make changes to this bug.
Description
•