Make all JS "use strict";
Opened this issue · 1 comments
kpreid commented
Once upon a time, strict mode does not exist. Later, we could not rely on browsers supporting strict mode. Today we can. Therefore, there is no longer any reason whatsoever for any of our JavaScript, host-side or not, not to request strict mode.
DavidBruant commented
You might want to leave one part as non-strict for an important with
statement
https://github.com/google/caja/blob/74ba0da7aa1844b6b813437219d18ef64abe3d29/src/com/google/caja/ses/startSES.js#L812