Skip to content

bootstrap: unfreeze console under --frozen-intrinsics

This fixes the bug pointed out by @jdalton in https://github.com/nodejs/node/pull/25685#issuecomment-457971744.

I haven't included an explicit test, because for all intensive purposes we could be testing EVERY global that it works under this flag. Rather the fix is by exclusion.

At the same time I've also added some documentation on how to handle the common errors, which are really only these two cases.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading