Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
Jarred Sumner
2024-03-30 20:57:40 -07:00
committed by GitHub
parent 7f71f10ad1
commit c3ba60eef5
3 changed files with 44 additions and 3 deletions

View File

@@ -41,14 +41,14 @@ inline void generateNativeModule_AbortControllerModule(
// https://github.com/mysticatea/abort-controller/blob/a935d38e09eb95d6b633a8c42fcceec9969e7b05/dist/abort-controller.js#L125
abortController->putDirect(
vm, signalIdent, abortSignal,
static_cast<unsigned>(PropertyAttribute::DontEnum));
static_cast<unsigned>(PropertyAttribute::DontDelete));
abortController->putDirect(
vm, controllerIdent, abortController,
static_cast<unsigned>(PropertyAttribute::DontEnum));
static_cast<unsigned>(PropertyAttribute::DontDelete));
abortController->putDirect(
vm, vm.propertyNames->defaultKeyword, abortController,
static_cast<unsigned>(PropertyAttribute::DontEnum));
static_cast<unsigned>(PropertyAttribute::DontDelete));
}
} // namespace Zig