Security/Inline Scripts and Styles: Difference between revisions

→‎Remaining bugs: force bugzilla refresh -.-
No edit summary
(→‎Remaining bugs: force bugzilla refresh -.-)
Line 15: Line 15:
== Identifying and changing inline code patterns ==
== Identifying and changing inline code patterns ==
The general advise is that we want to have separate files for Stylesheets (CSS), JavaScript (JS) and HTML. This means that any trace of JS and CSS in HTML is to be removed and replaced with something in an exising JS or CSS file. If there is no existing CSS or JS file, a new one has to be created: There are five types of code that need changing
The general advise is that we want to have separate files for Stylesheets (CSS), JavaScript (JS) and HTML. This means that any trace of JS and CSS in HTML is to be removed and replaced with something in an exising JS or CSS file. If there is no existing CSS or JS file, a new one has to be created: There are five types of code that need changing
== Remaining bugs ==
<bugzilla>
{
  "blocks": "923920",
  "status": "NEW",
  "whiteboard": "good first bug"
}
</bugzilla>
<!--
  Explanation of bugzilla query:
* 923920 is the tracker. Every item should be listed as a blocker.
* We only list "NEW" bugs, as ASSIGNED or RESOLVED is not ready to work on.
* The whiteboard selection is used to exclude meta bugs (e.g., for SeaMonkey and DevTools) that hang below this tracker.
-->


===JS in a script tag===
===JS in a script tag===
Confirmed users
239

edits