Uh oh!
There was an error while loading. Please reload this page.
src: add get/set pair for unhandled rejections mode - #38915
Conversation
2a8cf56 to
92ce0beCompareUh oh!
There was an error while loading. Please reload this page.
92ce0be to
c3f3fc7Compare
bl-ue
left a comment
There was a problem hiding this comment.
I think you meant to omit const at the end of the setter's signature.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
65ea8d0 to
71e0e8cComparenodejs-github-bot
commented
Jun 4, 2021
nodejs-github-bot
commented
Jun 4, 2021
addaleax
commented
Jun 5, 2021
Can Electron modify the |
jasnell
commented
Jun 7, 2021
I'd be ok with this if a reasonable test can be added for it. |
addaleax
commented
Jun 7, 2021
@jasnell I would still argue that unused private APIs are things that should be removed from our source code, not added. |
jasnell
commented
Jun 7, 2021
Unused by whom? Electron would be using these. Perhaps finding a way of making them a part of the supported embedder API would be a better approach. |
addaleax
commented
Jun 7, 2021
Yes, exactly the point. |
addaleax
commented
Jun 16, 2021
I guess my first question would still be whether Electron can modify the In the long run, it would probably be nice if there was a generic way to get/set options through the embedder API?
I didn’t notice that PR, sorry – I’d revert it, tbh. I don’t think Electron gains anything from that change or from this one in its current state. |
codebytere
commented
Jun 29, 2021
Closing in favor of modifying the options object directly. |
This PR adds a get/set pair for unhandled rejections modes. Electron wishes to be able to set this from C++ and not just a cli flag which is the only option right now.