[[Enumerate]] and enumerate and keys trap

Brendan Eich brendan at mozilla.org
Mon Oct 8 14:04:39 PDT 2012


Allen Wirfs-Brock wrote:
> BTW, an issue that I have seen in some ES test is an implicit assumption that the implementation factoring and abstraction layering necessarily follows that used by the specification. Just because the spec. uses procedural abstraction to define some functionality doesn't mean that the functionality can be verify by exercising only one of multiple features that depend upon it.

Indeed, such internal details should not be observable -- so were those 
tests counting on leaky abstractions in certain implementation(s)?

/be


More information about the es-discuss mailing list