archives

« Bugzilla Issues Index

#1686 — 15.17.3: WeakSet.prototype methods need to test input value is Object


WeakSet.prototype.{add, delete, has} need to test that the input value is an object or otherwise throw a TypeError, just like WeakMap does.


And:
- 15.17.3.4 algorithm steps are misnumbered.

- 15.17.3.4, steps 13-14 got mangled

- 15.17.3.1 mentions Set instead of WeakSet


fixed in rev17 editor's draft


fixed in rev17, August 23, 2013 draft