Closed
Bug 1517753
Opened 6 years ago
Closed 6 years ago
currency-amount.js is a javascript module and shouldn't define "use strict";
Categories
(Firefox :: WebPayments UI, enhancement, P5)
Firefox
WebPayments UI
Tracking
()
RESOLVED
FIXED
Firefox 66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: standard8, Assigned: matthewacha, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: coverity, good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
currency-amount.js is a javascript module and shouldn't define "use strict"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#Strict_mode_for_modules
https://searchfox.org/mozilla-central/search?q=currency-amount.js&case=true®exp=false&path=
We should drop that statement as it is redundant.
I'm happy to mentor this.
Updated•6 years ago
|
Blocks: coverity-analysis
Keywords: coverity
Assignee | ||
Comment 1•6 years ago
|
||
Hey @standard8,
I would like to work on this bug, however, I would like you to know that this is my first time to contribute here and need some guidance on setup.
Reporter | ||
Comment 2•6 years ago
|
||
Hi, to get set up, follow the steps here:
https://developer.mozilla.org/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build
Note that you probably don't need to do a build here, but creating one won't hurt. When you get to the './mach bootstrap' step, select the 'artifact' mode.
Once you've got the source, and created a patch, create a commit using this title: 'Bug 1517753 - currency-amount.js is a javascript module and shouldn't define "use strict" r?Standard8'
You can the submit it to phabricator for review:
https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html
Note: use the "moz-phab" submission method, rather than the arcanist one.
If you need more help, you can ask in #introduction on IRC (https://wiki.mozilla.org/IRC), or ask here.
Assignee: nobody → matthewacha
Assignee | ||
Comment 3•6 years ago
|
||
Ok, thanks @standard8
Updated•6 years ago
|
Priority: -- → P5
Assignee | ||
Comment 4•6 years ago
|
||
- Deleted 'use strict' from currency-amount.js
Assignee | ||
Comment 5•6 years ago
|
||
@standard8 I have worked on it. Its awaiting your review
Reporter | ||
Comment 6•6 years ago
|
||
(In reply to matthewacha from comment #5)
@standard8 I have worked on it. Its awaiting your review
Did you see my comment here: https://phabricator.services.mozilla.com/D15960#402927 ?
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ff2df6d75dd4
currency-amount.js is a javascript module and shouldn't define "use strict" r=Standard8
Comment 8•6 years ago
|
||
bugherder |
Status: NEW → 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
•