url: make URL.parse enumerable

PR-URL: https://github.com/nodejs/node/pull/53720
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
Filip Skokan 2024-07-04 14:56:57 +02:00 committed by Node.js GitHub Bot
parent da3afd907b
commit 3ca05ffa02
2 changed files with 6 additions and 8 deletions

View File

@ -1167,6 +1167,12 @@ ObjectDefineProperties(URL, {
writable: true,
enumerable: true,
},
parse: {
__proto__: null,
configurable: true,
writable: true,
enumerable: true,
},
});
function installObjectURLMethods() {

View File

@ -13,14 +13,6 @@
]
}
},
"idlharness.any.js": {
"fail": {
"note": "TODO(@panva)",
"expected": [
"URL interface: operation parse(USVString, optional USVString)"
]
}
},
"url-setters-a-area.window.js": {
"skip": "already tested in url-setters.any.js"
},