Title: url: URLPattern.exec() result properties are not created in WebIDL order · Issue #64732 · nodejs/node · GitHub
Open Graph Title: url: URLPattern.exec() result properties are not created in WebIDL order · Issue #64732 · nodejs/node
X Title: url: URLPattern.exec() result properties are not created in WebIDL order · Issue #64732 · nodejs/node
Description: Version latest main branch Platform 7.1.4-arch1-1 Subsystem url What steps will reproduce the bug? const { URLPattern } = require('node:url'); const pattern = new URLPattern({ pathname: '/:value' }); const result = pattern.exec('https://...
Open Graph Description: Version latest main branch Platform 7.1.4-arch1-1 Subsystem url What steps will reproduce the bug? const { URLPattern } = require('node:url'); const pattern = new URLPattern({ pathname: '/:value' }...
X Description: Version latest main branch Platform 7.1.4-arch1-1 Subsystem url What steps will reproduce the bug? const { URLPattern } = require('node:url'); const pattern = new URLPattern({ pathname: ...
Opengraph URL: https://github.com/nodejs/node/issues/64732
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"url: URLPattern.exec() result properties are not created in WebIDL order","articleBody":"### Version\n\nlatest main branch \n\n### Platform\n\n```text\n7.1.4-arch1-1\n```\n\n### Subsystem\n\nurl\n\n### What steps will reproduce the bug?\n\n```js \n\n const { URLPattern } = require('node:url');\n\n const pattern = new URLPattern({ pathname: '/:value' });\n const result = pattern.exec('https://example.com/test');\n\n console.log(Object.keys(result));\n console.log(Object.keys(result.pathname));\n console.log(JSON.stringify(result.pathname));\n\n```\n\n### How often does it reproduce? Is there a required condition?\n\nEvery \n\n### What is the expected behavior? Why is that the expected behavior?\n\n```js\n [\n 'hash',\n 'hostname',\n 'pathname',\n 'port',\n 'protocol',\n 'search',\n 'username'\n ]\n\n [ 'groups', 'input' ]\n\n '{\"groups\":{\"value\":\"test\"},\"input\":\"/test\"}'\n```\n\n\n\n### What do you see instead?\n\n```js\n\n [\n 'inputs',\n 'protocol',\n 'username',\n 'password',\n 'hostname',\n 'port',\n 'pathname',\n 'search',\n 'hash'\n ]\n\n [ 'input', 'groups' ]\n\n '{\"input\":\"/test\",\"groups\":{\"value\":\"test\"}}'\n```\n\n### Additional information\n\n Although direct property access is unaffected, property creation order is observable through:\n\n```js\n\n Object.keys(result);\n Object.values(result);\n JSON.stringify(result);\n ({ ...result });\n```\n\n This makes Node.js behavior incompatible with browsers and WebIDL dictionary conversion semantics.","author":{"url":"https://github.com/Archkon","@type":"Person","name":"Archkon"},"datePublished":"2026-07-25T09:57:46Z","url":"https://github.com/nodejs/node/issues/64732"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3dd8617f-b4f5-8c1d-4b7f-53e3de293e03 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE00:38E6D:31174D:3FD513:6AED1D90 |
| html-safe-nonce | 3c53319ab020b2e0fcdf9e8a6c1b7875632929a194641da36a5180686bb93a6f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTAwOjM4RTZEOjMxMTc0RDozRkQ1MTM6NkFFRDFEOTAiLCJ2aXNpdG9yX2lkIjoiMzQyNjk5ODY1NDAyNTQwNzg4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0e028b18d4cf2fb5898db260c3492d586e77ad2388b59673de2afd016ad51809 |
| hovercard-subject-tag | issue:4975278454 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/64732/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6c0d4a9259feacd28058053b1fe759b7b065a5a681dc64e68aac4307bb0f771c/nodejs/node/issues/64732 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6c0d4a9259feacd28058053b1fe759b7b065a5a681dc64e68aac4307bb0f771c/nodejs/node/issues/64732 |
| og:image:alt | Version latest main branch Platform 7.1.4-arch1-1 Subsystem url What steps will reproduce the bug? const { URLPattern } = require('node:url'); const pattern = new URLPattern({ pathname: '/:value' }... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Archkon |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 707a24b346ac8a82878b9c084efaa38a997660cb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width