archives

« Bugzilla Issues Index

#3408 — 9.4.6: Missing/Incomplete object internal methods


9.4.6 Module Namespace Exotic Objects

Some object internal methods seem to be incomplete.

(1) 9.4.6.8 [[Get]] (P, Receiver)

Steps 2.a calls the default ordinary object [[Get]] method, which in turn calls the object's [[GetOwnProperty]] method. But [[GetOwnProperty]] for module namespace objects always throws a TypeError, which means [[Get]] for symbol-valued keys will also throw a TypeError.


(2) 9.4.6.7 [[HasProperty]] (P)

The case when `P` is symbol-valued property key is not handled.


(3) 9.4.6.12 [[OwnPropertyKeys]] ( )

Step 1 should probably say that a copy of `[[Exports]]` is created.


fixed in rev30 editor's draft


fixed in rev30