-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootstrap: --frozen-intrinsics override problem workaround
PR-URL: #28254 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information
1 parent
3fd5451
commit 554ffa3
Showing
3 changed files
with
225 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lines 387 and 388 have a bug inherited from SES that we have since corrected. This
defineProperty
call is supposed to emulate what would have been a property creation by assignment in the absence of the override mistake. Bothenumerable:
andconfigurable:
shouldtrue
.See endojs/endo#409
See https://github.com/Agoric/SES-shim/blob/f2b8fcdf5a5f1dcaae1af93d64ebb9785f9b314b/packages/ses/src/enable-property-overrides.js#L64-L65