-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
url: clean up WHATWG URL origin generation #12252
Conversation
- 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
Perhaps |
@mscdex That was my original intent, and I tried to do that in #10955. But it was blocked by #10955 (comment) (not sure if @jasnell's opinion has changed). |
I have since refractored the code that was using it. Simplifying should be fine. |
Landed in aff5cc9 |
- 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: #12252 Reviewed-By: James M Snell <jasnell@gmail.com>
toString()
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
url