(id)
| 267 | } |
| 268 | |
| 269 | static allowRequireByUsers(id) { |
| 270 | if (id === selfId) { |
| 271 | // No code because this is an assertion against bugs. |
| 272 | // eslint-disable-next-line no-restricted-syntax |
| 273 | throw new Error(`Should not allow ${id}`); |
| 274 | } |
| 275 | canBeRequiredByUsersList.add(id); |
| 276 | if (!schemelessBlockList.has(id)) { |
| 277 | canBeRequiredByUsersWithoutSchemeList.add(id); |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | static setRealmAllowRequireByUsers(ids) { |
| 282 | canBeRequiredByUsersList = |
no test coverage detected