mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibJS: Stub out Atomics.notify
We don't have the facilities to implement this method fully (namely, a fully realized SharedArrayBuffer). But we can implement enough to validate the values passed in by the user.
This commit is contained in:
parent
78edaad97d
commit
026363024f
Notes:
sideshowbarker
2024-07-17 02:42:21 +09:00
Author: https://github.com/trflynn89
Commit: 026363024f
Pull-request: https://github.com/SerenityOS/serenity/pull/21951
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/shannonbooth ✅
4 changed files with 104 additions and 0 deletions
|
@ -32,6 +32,7 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(sub);
|
||||
JS_DECLARE_NATIVE_FUNCTION(wait);
|
||||
JS_DECLARE_NATIVE_FUNCTION(wait_async);
|
||||
JS_DECLARE_NATIVE_FUNCTION(notify);
|
||||
JS_DECLARE_NATIVE_FUNCTION(xor_);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue