1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57:35 +00:00

LibWeb: Support navigator.javaEnabled() (always false)

This removes exception spam about javaEnabled() on apple.com.
This commit is contained in:
Andreas Kling 2022-03-26 11:49:31 +01:00
parent 0e806f58fe
commit 2a8c6361aa
2 changed files with 10 additions and 0 deletions

View file

@ -23,6 +23,7 @@ public:
private:
JS_DECLARE_NATIVE_FUNCTION(user_agent_getter);
JS_DECLARE_NATIVE_FUNCTION(cookie_enabled_getter);
JS_DECLARE_NATIVE_FUNCTION(java_enabled);
};
}