svnlabs / google-caja

Automatically exported from code.google.com/p/google-caja
0 stars 1 forks source link

SES should default to reporting 'cannot be poisoned' properties #1709

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
SES rightfully omits the details of its property whitelisting from its default 
logging. However, 'Cannot be poisoned' properties are more noteworthy. We 
should default to displaying the list of such properties, so that console logs 
are more useful for non-interactive troubleshooting and discriminating between 
bugs.

This will not increase verbosity for normal SES startup, since all such events 
are too severe for SES to be used. However, it might be noisy on a browser 
which is not compatible with SES solely for this reason (as opposed to exiting 
earlier due to repairES5 failure) and does not support groupCollapsed. 
Therefore, there should be a reasonable limit on the number of such properties 
printed (and the truncated list will probably be sufficient for diagnostic 
purposes).

Original issue reported on code.google.com by kpreid.switchb.org on 19 Apr 2013 at 12:42

GoogleCodeExporter commented 9 years ago

Original comment by kpreid@google.com on 7 Nov 2013 at 8:30