Closed
Bug 1539016
Opened 6 years ago
Closed 6 years ago
Setting arguments with conditional operator is always considered as not safe
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox68 fixed)
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: masayuki, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
CreateElementWithDefaults(aIsHeader ? *nsGkAtoms::th : *nsGkAtoms::td);
If I mark CreateElementWithDefaults()
as MOZ_CAN_RUN_SCRIPT
, this call is considered as non-safe.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/48e6a07862e0
part 1. Refactor the MOZ_CAN_RUN_SCRIPT analysis a bit to make new live things easier to add. r=andi
https://hg.mozilla.org/integration/autoland/rev/4e4f6c867952
part 2. Teach MOZ_CAN_RUN_SCRIPT analysis about conditional operators. r=andi
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/48e6a07862e0
https://hg.mozilla.org/mozilla-central/rev/4e4f6c867952
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Updated•6 years ago
|
Assignee: nobody → bzbarsky
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•