archives

« Bugzilla Issues Index

#2818 — Inconsistencies in handling of Realm intrinsics


26.2.1.1, step 29a and 26.2.3.7.3, steps 9a-d both specify how the default property values of the global object are initialized. They should either use the same steps, or call an abstract operation performing these steps to avoid duplication.

Importantly, the first of these two states that the [[RealmRecord]]'s `intrinsics` record should be used as the source of the values, whereas the second doesn't specify a source at all.

Additionally, 26.2.3.4 also handles the intrinsics, and also doesn't refer to the [[RealmRecord]]'s `intrinsics` record. (At least not directly, step 6b probably boils down to that, but isn't entirely clear.)


concerns reified Realm objects which were dropped from ES6