Comment #7 on issue 1818 by kpreid.switchb.org: ++, --, += ignore frozenness under v8
http://code.google.com/p/google-caja/issues/detail?id=1818

I've written a test, but I can't reproduce the bug either using it OR the test case from the v8 bug modified to use a loop as suggested.

    function f(o) { o.x++ }
    var o = {x: 5}
    Object.freeze(o)
    f(o)
    f(o)
    o.x === 5;
    for (var i = 0; i < 10000; i++) { f(o); }
    o.x

is always 5 in Chrome 28.0.1500.71 (stable) and 30.0.1562.0 (canary).

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- 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