Files
node/lib
Joyee Cheung 5e1bf058f4 url: make the context non-enumerable
At the moment we expose the context as a normal property on the
prototype chain of URL or take them from the base URL
which makes them enumerable and considered
by assert libraries even though the context carries path-dependent
information that do not affect the equivalence of these objects.
This patch fixes it in a minimal manner by marking the context
non-enumerable as making it full private would require more
refactoring and can be done in a bigger patch later.

PR-URL: https://github.com/nodejs/node/pull/24218
Refs: https://github.com/nodejs/node/issues/24211
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
2018-11-09 15:53:32 -08:00
..
2018-11-06 10:58:42 -05:00
2018-11-06 10:58:47 -05:00
2018-08-24 18:37:35 -07:00
2018-07-16 15:55:15 -07:00
2018-10-23 21:05:47 -07:00
2018-10-17 19:56:43 +02:00
2018-10-23 17:59:17 +02:00