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)

defect

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.
blocking-basecamp: ? → +
Priority: -- → P1
Assignee: nobody → poirot.alex
I guess you are referring to items such as this: <a href="javascript: window.history.go(-1);">
Attachment #674692 - Flags: review?(jlal)
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)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Actually there is still PR 5987 to land.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Priority: P1 → --
Priority: -- → P2
I believe with PR 5987 we have fixed the CSP issues. Nice work Alexandre.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Attachment #674692 - Flags: review?(jlal) → review+
Attachment #674693 - Flags: review?(jlal) → review+
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.

Attachment

General

Created:
Updated:
Size: