mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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:
parent
da3afd907b
commit
3ca05ffa02
@ -1167,6 +1167,12 @@ ObjectDefineProperties(URL, {
|
||||
writable: true,
|
||||
enumerable: true,
|
||||
},
|
||||
parse: {
|
||||
__proto__: null,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
enumerable: true,
|
||||
},
|
||||
});
|
||||
|
||||
function installObjectURLMethods() {
|
||||
|
@ -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"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user