Closed
Bug 803178
Opened 12 years ago
Closed 12 years ago
FIX CSP Violations (remove inline js)
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect, P2)
Firefox OS Graveyard
Gaia::Calendar
Tracking
(blocking-basecamp:+)
RESOLVED
FIXED
blocking-basecamp | + |
People
(Reporter: jlal, Assigned: ochameau)
Details
(Whiteboard: [mentor=jlal@mozilla.com][LOE:S][qa-] QARegressExclude)
Attachments
(2 files)
We have a few places where we use inline scripts (including app start up) we need to remove these.
Updated•12 years ago
|
blocking-basecamp: ? → +
Priority: -- → P1
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → poirot.alex
Comment 2•12 years ago
|
||
I guess you are referring to items such as this:
<a href="javascript: window.history.go(-1);">
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #674692 -
Flags: review?(jlal)
Assignee | ||
Comment 4•12 years ago
|
||
Another patch to fix template.js usage of Function() which is equivalent to eval() and is forbidden regarding CSP rules.
I tried to implement an efficient equivalent implementation but didn't had enough lifetime on calendar to notice better or slower performances.
Attachment #674693 -
Flags: review?(jlal)
Assignee | ||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•12 years ago
|
||
Actually there is still PR 5987 to land.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•12 years ago
|
Priority: P1 → --
Updated•12 years ago
|
Priority: -- → P2
Reporter | ||
Comment 7•12 years ago
|
||
I believe with PR 5987 we have fixed the CSP issues. Nice work Alexandre.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•12 years ago
|
Attachment #674692 -
Flags: review?(jlal) → review+
Reporter | ||
Updated•12 years ago
|
Attachment #674693 -
Flags: review?(jlal) → review+
Updated•12 years ago
|
Whiteboard: [mentor=jlal@mozilla.com][LOE:S] → [mentor=jlal@mozilla.com][LOE:S][qa-]
Whiteboard: [mentor=jlal@mozilla.com][LOE:S][qa-] → [mentor=jlal@mozilla.com][LOE:S][qa-] QARegressExclude
You need to log in
before you can comment on or make changes to this bug.
Description
•