Uh oh!
There was an error while loading. Please reload this page.
cli: remove --no-experimental-global-webcrypto flag - #46079
Conversation
nodejs-github-bot
commented
Jan 3, 2023
Review requested:
|
@aduh95 what is the semverness of this change? We've only made the webcrypto api global (and stable) by default in 19.x onward. Also, should |
3f0ed98 to
d8edf03Compare
This comment was marked as outdated.
This comment was marked as outdated.
aduh95
left a comment
There was a problem hiding this comment.
I'm not sure we should rush it, unless having the flag is blocking something else.
Uh oh!
There was an error while loading. Please reload this page.
aduh95
commented
Jan 3, 2023
Yes, as it simplifies the job of embedders such as Electron that expose browser globals from another runtime such as Chromium. It's being taken care of by Lines 226 to 231 in 4310522 |
This comment was marked as outdated.
This comment was marked as outdated.
6c4fffa to
c72ce95Compare
This comment was marked as outdated.
This comment was marked as outdated.
nodejs-github-bot
commented
Jan 4, 2023
It's probably just blocking the TODO so that pre_execution could get cleaned up. If that's not a pressing issue I propose we alias the flag as WDYT? |
aduh95
commented
Jan 9, 2023
I think we need to keep the flag as experimental and get rid of it in the near future, if we remove the experimental part of it, we would have to go through a full deprecation cycle. While the WebCrypto implementation itself is robust, and deserves to be called stable, the I would do that for 21.x or 22.x, so in case the current implementation breaks someone's code, they have a full LTS cycle to adapt and can use the flag to unblock them in the mean time. |
Very well. I did not think of the CLI flag itself as experimental. I'll revisit this before 21 or 22. |
Removes the
--no-experimental-global-webcryptoflag and moves the global definitions tointernal/bootstrap/browser.