(ids)
| 279 | } |
| 280 | |
| 281 | static setRealmAllowRequireByUsers(ids) { |
| 282 | canBeRequiredByUsersList = |
| 283 | new SafeSet(ArrayPrototypeFilter(ids, (id) => ArrayPrototypeIncludes(publicBuiltinIds, id))); |
| 284 | canBeRequiredByUsersWithoutSchemeList = |
| 285 | new SafeSet(ArrayPrototypeFilter(ids, (id) => !schemelessBlockList.has(id))); |
| 286 | } |
| 287 | |
| 288 | // To be called during pre-execution when --expose-internals is on. |
| 289 | // Enables the user-land module loader to access internal modules. |