On Nov 12, 2007 11:40 AM, Mark Miller <[EMAIL PROTECTED]> wrote: > On Nov 12, 2007 9:05 AM, Brendan Eich <[EMAIL PROTECTED]> 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 > write: > > \item[Silent errors.] In JavaScript, various operations, such as setting > a > 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? -Yuh-Ruey Chen
_______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
