diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-07-06 01:12:54 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-07-06 14:20:30 +0100 |
commit | 53f70e520889a58a75e243cb93ed14f08416cf8a (patch) | |
tree | 3054922ec60641a56e3ecdc2e8442fa746ad6a0b /Meta/Lagom/Fuzzers | |
parent | a6b8291a9b3f72c6c70141dafb85d380a68ebdd0 (diff) | |
download | serenity-53f70e520889a58a75e243cb93ed14f08416cf8a.zip |
LibJS: Remove the default length & attributes from define_native_*
These are usually incorrect, and people sometimes forget to add the
correct values as a result of them being optional, so they should just
be specified explicitly.
Diffstat (limited to 'Meta/Lagom/Fuzzers')
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzilliJs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp index 21f679c77a..ea8824d6dc 100644 --- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp +++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp @@ -178,7 +178,7 @@ void TestRunnerGlobalObject::initialize_global_object() { Base::initialize_global_object(); define_direct_property("global", this, JS::Attribute::Enumerable); - define_native_function("fuzzilli", fuzzilli, 2); + define_native_function("fuzzilli", fuzzilli, 2, JS::default_attributes); } int main(int, char**) |