On Sun, Jun 21, 2015 at 4:03 PM, Mark Miller <[email protected]> wrote:

> On Fri, Jun 19, 2015 at 3:02 PM, 'Kevin Reid' via Google Caja Discuss <
> [email protected]
> <https://mail.google.com/mail/?view=cm&fs=1&tf=1&[email protected]>
> > wrote:
>
>> In startSES.js, we have the following function which normalizes the
>> mitigation options. If it is passed null/undefined, parseFunctionBody will
>> be true, but if it is passed {}, parseFunctionBody will be false. Why?
>>
>
> I think it should default to false in both cases. Also we should refactor
> this code so these decisions are expressed only once. That way they are
> less likely to get out of sync.
>

For the record, this has been fixed in
https://github.com/google/caja/commit/962c28551fefe6ab6c8c45037fae55254f1459f9
.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to