ES5 16: "An early error is an error that can be detected and reported prior to the evaluation of any construct in the Program containing the error. An implementation must report early errors in a Program prior to the first evaluation of that Program." A name always evaluates to either an unresolvable Reference or a Reference with an environment record as its base. But an object environment record's HasBinding method calls [[HasProperty]] and through it [[GetProperty]]. Neither of these in the spec has any side effect, nor does either terminate abruptly (ignoring OOM and the like), so only host objects matter. But it seems clear enough that going down the rat's nest just for host objects (or for proxies should they reach full standardization) is a bad idea, so |delete name| should just be an early error. This is also how it's implemented in SpiderMonkey.
fixing now.
Created attachment 77050 [details] Patch
Comment on attachment 77050 [details] Patch r=me if you delete deleteProperty and related code.
Committed r74377: <http://trac.webkit.org/changeset/74377>