- From: <bugzilla@jessica.w3.org>
- Date: Thu, 09 Oct 2014 01:07:42 +0000
- To: public-webcrypto@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26322 --- Comment #18 from Mark Watson <watsonm@netflix.com> --- (In reply to Boris Zbarsky from comment #17) > Freezing guarantees the following invariants: > > 1) Properties cannot be added. > 2) Properties cannot be removed. > 3) The values of value properties cannot change. > 4) The getters/setters of accessor properties cannot change. > > Given those invariants, as long as you only access properties you know are > on the object (so you don't fall through the proto chain) and you know > they're either value properties or have accessors that you control and hence > know have no side-effects, property accesses on the object are > side-effect-free. Thanks. What is the definition of 'value property' ? If the value of a property of a frozen object is itself an object, does that get frozen too, or would we have freeze that explicitly ? -- You are receiving this mail because: You are on the CC list for the bug.
Received on Thursday, 9 October 2014 01:07:44 UTC