archives

« Bugzilla Issues Index

#2485 — Confusing naming of ObjectEnvironment and DeclarativeEnvironment fields of the Global Environment Record


Section 8.1.4 (in current draft: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-global-environment-records) states that an Environment Record (the Global env. record in particular) has `ObjectEnvironment` and `DeclarativeEnvironment` fields. This sounds confusing since looks like an Env. Record contains an Environment inside, although it's exactly the opposite in semantics.


(Changing this bug's 'Product' from 'ECMA-262' to 'Draft for 6th Edition', since the Description refers to the "current draft" and links the the HTML version of the 6th edition draft.)


fixed in rev25 editor's draft.

renamed those fields as "ObjectRecord" and "DeclarativeRecord"


fixed in rev25