| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
I'm assuming this Mac OS test is flaky since it timed out - could someone rerun that one if needed? |
Sorry, something went wrong.
Sorry, something went wrong.
| // TODO(MoLow): Remove this polyfill once Symbol.dispose and Symbol.asyncDispose are available in V8. | ||
| // eslint-disable-next-line node-core/prefer-primordials | ||
| Symbol.dispose ??= SymbolDispose; | ||
| if (typeof Symbol.dispose !== 'symbol') { |
There was a problem hiding this comment.
We're guaranteed this runs before any userland code right?
(Just making sure this is safe since it's weird we set up Symbol.dispose here (if someone tampered with symbol they can set up a getter that throws here) but we use ObjectDefineProperty which is a primordial that guards against this sort of tampering))
Sorry, something went wrong.
There was a problem hiding this comment.
I’m assuming that the file called “pre execution” runs before any userland code - if not, this polyfill is highly problematic conceptually :-)
Sorry, something went wrong.
|
Are these 3 failing tests something I need to address? |
Sorry, something went wrong.
Sorry, something went wrong.
seems like a fluke, I reran the tests |
Sorry, something went wrong.
|
@MoLow still failing; are they flaky or do i need to look into it? |
Sorry, something went wrong.
Sorry, something went wrong.
passed now |
Sorry, something went wrong.
Followup to nodejs#48518; fixes nodejs#48699 PR-URL: nodejs#48703 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Nitzan Uziely <linkgoron@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Followup to nodejs#48518; fixes nodejs#48699 PR-URL: nodejs#48703 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Nitzan Uziely <linkgoron@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
|
This commit does not land cleanly on v18.x-staging and will need manual backport in case we want it in v18. |
Sorry, something went wrong.
|
@ruyadorno node 18 doesn't seem to have Symbol.dispose polyfilled, so i think this PR should have "do not backport" to <= 18? |
Sorry, something went wrong.
|
node 18.18 was released today with the symbols, so maybe? |
Sorry, something went wrong.
|
oof, ok then perhaps it will indeed backport cleanly into 18.18 :-) |
Sorry, something went wrong.
Followup to #48518; fixes #48699 PR-URL: nodejs/node#48703 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Nitzan Uziely <linkgoron@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Followup to #48518; fixes #48699 PR-URL: nodejs/node#48703 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Nitzan Uziely <linkgoron@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
| Back | FazBrowse Home | New Git URL |
Followup to #48518; fixes #48699
Happy to add a test if needed - but I both wasn't sure where it would go, and I also wasn't sure if this was worth testing since node rarely polyfills JS builtins and v8 will supply it soon enough anyways (backed by test262)