node
v8: remove --harmony-top-level-await
#40226
Closed

v8: remove --harmony-top-level-await #40226

GeoffreyBooth
GeoffreyBooth3 years ago👍 4🎉 3

Removes the --harmony-top-level-await flag now that top-level await is enabled by default in V8.

Cleans up a TODO from @MylesBorins 😉

GeoffreyBooth GeoffreyBooth added module
GeoffreyBooth GeoffreyBooth added v8 module
GeoffreyBooth GeoffreyBooth requested a review from MylesBorins MylesBorins 3 years ago
nodejs-github-bot nodejs-github-bot added c++
nodejs-github-bot nodejs-github-bot added needs-ci
mscdex
mscdex3 years ago👍 1

Should we block this from being backported to any branches?

targos targos added dont-land-on-v12.x
targos targos added dont-land-on-v14.x
targos
targos approved these changes on 2021-09-27
MylesBorins
MylesBorins approved these changes on 2021-09-27
GeoffreyBooth GeoffreyBooth added author ready
GeoffreyBooth
GeoffreyBooth3 years ago
aduh95
aduh95 commented on 2021-09-27
aduh953 years ago

I think we should also remove test/message/esm_display_syntax_error.mjs, test/message/esm_display_syntax_error.out, and test/parallel/test-no-harmony-top-level-await.mjs.

targos
targos3 years ago

I think we should also remove test/message/esm_display_syntax_error.mjs, test/message/esm_display_syntax_error.out, and test/parallel/test-no-harmony-top-level-await.mjs.

Yes, I think we can remove these tests.

GeoffreyBooth v8: remove --harmony-top-level-await
1a2b38d8
GeoffreyBooth GeoffreyBooth force pushed from d5dff337 to 1a2b38d8 3 years ago
GeoffreyBooth
GeoffreyBooth3 years ago

@targos @aduh95 Done. What about --experimental-top-level-await?

MylesBorins
MylesBorins3 years ago👍 3

@GeoffreyBooth removing the flag from core would be a semver-major change since it is currently a no-op and removing it would cause node to throw with a bad option error

aduh95
aduh95 approved these changes on 2021-09-28
targos targos added commit-queue
github-actions github-actions removed commit-queue
github-actions
github-actions3 years ago
github-actions github-actions closed this 3 years ago
GeoffreyBooth GeoffreyBooth deleted the remove-harmony-top-level-await branch 3 years ago
danielleadams danielleadams added dont-land-on-v16.x
danielleadams
danielleadams3 years ago

Added dont-land-on-v16.x label and waiting for #37468 before ready for v16.x.

aduh95 aduh95 removed dont-land-on-v16.x
aduh95 aduh95 added backport-blocked-v16.x
aduh95 aduh95 removed backport-blocked-v16.x
aduh95 aduh95 added dont-land-on-v16.x
aduh95
aduh953 years ago

@danielleadams Wouldn't backport-blocked-v16.x label be more suited for the this PR? I think we do want this to land on v16.x.

danielleadams
danielleadams3 years ago

@aduh95 yeah, that makes sense. I mean that #37468 should go in before #40226, but both should land on 16.x

targos targos removed dont-land-on-v16.x
targos targos added backport-blocked-v16.x
targos targos removed backport-blocked-v16.x

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone