archives

« Bugzilla Issues Index

#1928 — 24.3.3, Str operation, step 5c: Initialisation state of [[BooleanData]] unchecked


24.3.3, Str operation, step 5c:

Direct access to [[BooleanData]] needs to check the initialisation state of the Boolean object. If [[BooleanData]] is `undefined` a TypeError should be thrown.


test case:
JSON.stringify(new class extends Boolean{constructor(){}})


fixed in rev19 editor's draft


fixed in rev19