Assigning to ReadOnly properties
maian330 at gmail.com
Mon Nov 12 13:43:47 PST 2007
On Nov 12, 2007 11:40 AM, Mark Miller <erights at gmail.com> wrote:
> On Nov 12, 2007 9:05 AM, Brendan Eich <brendan at mozilla.org> wrote:
> > [..], but the idea would
> > be to enable throwing of a ReadOnlyError on assignment to a ReadOnly
> > property. Comments?
> Hi Brendan,
> I'm glad to hear that this possibility is in scope. In the Caja spec, we
> ReadOnly property, fail silently rather than throwing an error. Program
> logic then proceeds along normal control flow paths premised on the
> assumption that these operations succeeded, leading to inconsistency.
Out of curiosity, what other JS operations fail silently?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Es4-discuss