url: clean up WHATWG URL origin generation · nodejs/node@b2a9e60 · GitHub
Skip to content

Commit b2a9e60

Browse files
TimothyGuevanlucas
authored andcommitted
url: clean up WHATWG URL origin generation
- Use ordinary properties instead of symbols/getter redirection for internal object - Use template string literals - Remove unneeded custom inspection for internal objects - Remove unneeded OpaqueOrigin class - Remove unneeded type checks PR-URL: #12507 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 29531d2 commit b2a9e60

1 file changed

Lines changed: 29 additions & 95 deletions

File tree

lib/internal/url.js

Lines changed: 29 additions & 95 deletions

0 commit comments

Comments
 (0)