| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This gets `Symbol.toStringTag` on Web Performance APIs to be aligned with the other runtime implementations. Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
Sorry, something went wrong.
|
Can we refer to https://webidl.spec.whatwg.org/#ecmascript-binding?
|
Sorry, something went wrong.
|
Could you please explain, whats this code changes will helps to do? The get is syntax which will convert exactly same thing you defined using configuration. Then, why we need to modify the working code? If you think, this is a standard, i recommend to make a coding standard guidlines first. Please have a look here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get |
Sorry, something went wrong.
Sorry, something went wrong.
|
If you are really thinks this is a standard, worthy, and we must follow that, please create a ticket. I can convert another instance of getters and move to define props including my open PR #45114 |
Sorry, something went wrong.
|
Yes, I think that we can meet the specification more with this way. Please take a look at the WPTs below. https://github.com/web-platform-tests/wpt/search?l=JavaScript&q=toStringTag |
Sorry, something went wrong.
|
Make sense now. This could be a valid reason to use Define property instead of getter. Just to align with wpt. Nothing else. Making changes accordingly. |
Sorry, something went wrong.
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
Sorry, something went wrong.
This gets `Symbol.toStringTag` on Web Performance APIs to be aligned with the other runtime implementations. Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: #45157 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This gets `Symbol.toStringTag` on Web Performance APIs to be aligned with the other runtime implementations. Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: #45157 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
@daeyeon this doesn't land cleanly on v18.x. Do you mind making a backport PR? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This gets Symbol.toStringTag on Web Performance APIs to be aligned
with the other runtime implementations. (Tested on Chromium, Firefox, and Safari)
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com