https://codereview.appspot.com/8913045/diff/1/src/com/google/caja/ses/StringMap.js
File src/com/google/caja/ses/StringMap.js (right):

https://codereview.appspot.com/8913045/diff/1/src/com/google/caja/ses/StringMap.js#newcode46
src/com/google/caja/ses/StringMap.js:46: // Object.create(null) is
broken; fall back to ES3-style implementation
On 2013/04/23 01:56:42, MarkM wrote:
This comment is now stale. Please update.

How is it stale?

Longer version of what it is saying: In the presence of
FREEZING_BREAKS_PROTOTYPES, we reimplement Object.create using ES3-level
techniques, which cannot create a null [[Prototype]]. Therefore,
Object.create(null) throws, and StringMap must avoid using it.

https://codereview.appspot.com/8913045/

--

--- 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/groups/opt_out.


Reply via email to